
/* ==========================================
   PRODGSHOP MOBILE & TABLET BOTTOM NAVIGATION
   5 ITEMS - RESPONSIVE HORIZONTAL DESIGN
========================================== */

/* Hide on desktop */
#prodgshop-mobile-bottom-nav {
    display: none !important;
}

/* Mobile phones and tablets */
@media screen and (max-width: 1199.98px),
       screen and (hover: none) and (pointer: coarse) {

    #prodgshop-mobile-bottom-nav {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        grid-auto-flow: row !important;

        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;

        width: 100% !important;
        height: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
        min-height: 75px !important;

        padding: 5px 0 env(safe-area-inset-bottom, 0px) !important;
        margin: 0 !important;

        background: #101114 !important;
        border-top: 1px solid rgba(255,255,255,.10) !important;

        box-sizing: border-box !important;
        z-index: 999999 !important;

        gap: 0 !important;
        overflow: visible !important;
    }

    /* Each of the 5 menu items */
    #prodgshop-mobile-bottom-nav > a.mbn-link {
        display: flex !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        flex: none !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;

        justify-content: center !important;
        align-items: center !important;

        position: relative !important;

        margin: 0 !important;
        padding: 4px 1px !important;

        float: none !important;
        text-align: center !important;
        text-decoration: none !important;

        box-sizing: border-box !important;
        overflow: visible !important;
    }

    /* Navigation icons */
    #prodgshop-mobile-bottom-nav > a.mbn-link i {
        display: block !important;

        font-size: 23px !important;
        line-height: 1.2 !important;

        color: #FE695E !important;
        margin: 0 !important;
    }

    /* Navigation labels */
    #prodgshop-mobile-bottom-nav > a.mbn-link .mbn-label {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        font-size: 11px !important;
        line-height: 1.3 !important;

        color: #FFFFFF !important;
        text-align: center !important;

        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;

        margin: 2px 0 0 !important;
    }

    /* Active menu */
    #prodgshop-mobile-bottom-nav > a.mbn-link.mbn-active,
    #prodgshop-mobile-bottom-nav > a.mbn-link.mbn-active i,
    #prodgshop-mobile-bottom-nav > a.mbn-link.mbn-active .mbn-label {
        color: #FE695E !important;
    }

    /* Notification badge */
    #prodgshop-mobile-bottom-nav .mbn-badge {
        position: absolute !important;
        top: 0 !important;
        right: 5px !important;

        min-width: 16px !important;
        padding: 2px 4px !important;

        background: #FE695E !important;
        color: #FFFFFF !important;

        font-size: 9px !important;
        border-radius: 20px !important;
        text-align: center !important;
    }

    /* Prevent footer/content overlap */
    body {
        padding-bottom:
            calc(75px + env(safe-area-inset-bottom, 0px)) !important;
    }
}


/* FINAL BOTTOM NAVIGATION DESIGN */

@media screen and (max-width: 1199.98px) {

    #prodgshop-mobile-bottom-nav {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        grid-auto-flow: row !important;
        background: #101114 !important;
        height: 75px !important;
        padding: 5px 0 !important;
        gap: 0 !important;
        overflow: hidden !important;
    }

    #prodgshop-mobile-bottom-nav > a.mbn-link {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        min-width: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: #101114 !important;
        color: #FFFFFF !important;
        padding: 3px 1px !important;
        margin: 0 !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    #prodgshop-mobile-bottom-nav > a.mbn-link i {
        display: block !important;
        color: #FFFFFF !important;
        font-size: 22px !important;
        line-height: 1.2 !important;
        margin: 0 0 4px 0 !important;
    }

    #prodgshop-mobile-bottom-nav .mbn-label {
        display: block !important;
        width: 100% !important;
        color: #FFFFFF !important;
        font-size: 10px !important;
        line-height: 1.2 !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        margin: 0 !important;
    }

    body {
        padding-bottom: 75px !important;
    }
}

/* FINAL FIX - FIVE ITEMS IN ONE HORIZONTAL ROW */

@media screen and (max-width: 1199.98px) {

    #prodgshop-mobile-bottom-nav {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: stretch !important;

        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;

        width: 100% !important;
        height: 75px !important;
        min-height: 75px !important;

        background: #101114 !important;
        padding: 4px 0 !important;
        margin: 0 !important;
        gap: 0 !important;

        z-index: 999999 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    #prodgshop-mobile-bottom-nav > a.mbn-link {
        display: flex !important;
        flex: 1 1 20% !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;

        justify-content: center !important;
        align-items: center !important;

        width: 20% !important;
        min-width: 0 !important;
        max-width: 20% !important;
        height: 100% !important;

        padding: 4px 1px !important;
        margin: 0 !important;

        background: #101114 !important;
        color: #FFFFFF !important;

        text-align: center !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    #prodgshop-mobile-bottom-nav > a.mbn-link i {
        display: block !important;
        width: auto !important;
        color: #FFFFFF !important;
        font-size: 22px !important;
        line-height: 1.2 !important;
        margin: 0 0 4px 0 !important;
    }

    #prodgshop-mobile-bottom-nav > a.mbn-link .mbn-label {
        display: block !important;
        width: 100% !important;
        color: #FFFFFF !important;
        font-size: 10px !important;
        line-height: 1.2 !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        margin: 0 !important;
    }

    #prodgshop-mobile-bottom-nav > a.mbn-link.mbn-active,
    #prodgshop-mobile-bottom-nav > a.mbn-link.mbn-active i,
    #prodgshop-mobile-bottom-nav > a.mbn-link.mbn-active .mbn-label {
        color: #FFFFFF !important;
    }

    body {
        padding-bottom: 75px !important;
    }
}

/* ==========================================
   PRODGSHOP FINAL STRUCTURE FIX
   TARGET: NAV > DIV.full-container > A
========================================== */

@media screen and (max-width: 1199.98px) {

    #prodgshop-mobile-bottom-nav {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        height: 75px !important;
        background: #101114 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    /* Actual wrapper containing all five menu items */
    #prodgshop-mobile-bottom-nav > .full-container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;

        justify-content: space-around !important;
        align-items: stretch !important;

        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        background: #101114 !important;
        box-sizing: border-box !important;
    }

    /* Five individual menu items */
    #prodgshop-mobile-bottom-nav > .full-container > a.mbn-link {
        display: flex !important;
        flex: 1 1 20% !important;

        flex-direction: column !important;
        flex-wrap: nowrap !important;

        justify-content: center !important;
        align-items: center !important;

        width: 20% !important;
        min-width: 0 !important;
        max-width: 20% !important;
        height: 100% !important;

        margin: 0 !important;
        padding: 4px 1px !important;

        background: #101114 !important;
        color: #FFFFFF !important;

        text-align: center !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* White icons */
    #prodgshop-mobile-bottom-nav > .full-container > a.mbn-link i {
        display: block !important;
        color: #FFFFFF !important;
        font-size: 22px !important;
        line-height: 1.2 !important;
        margin: 0 0 4px 0 !important;
    }

    /* White labels below icons */
    #prodgshop-mobile-bottom-nav > .full-container > a.mbn-link .mbn-label {
        display: block !important;
        width: 100% !important;

        color: #FFFFFF !important;
        font-size: 10px !important;
        line-height: 1.2 !important;
        font-weight: 500 !important;

        text-align: center !important;
        white-space: nowrap !important;

        overflow: hidden !important;
        text-overflow: ellipsis !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    /* Active item */
    #prodgshop-mobile-bottom-nav > .full-container > a.mbn-link.mbn-active,
    #prodgshop-mobile-bottom-nav > .full-container > a.mbn-link.mbn-active i,
    #prodgshop-mobile-bottom-nav > .full-container > a.mbn-link.mbn-active .mbn-label {
        color: #FFFFFF !important;
    }

    body {
        padding-bottom: 75px !important;
    }
}


/* Move Back-to-Top button above bottom navigation */
@media screen and (max-width: 1199.98px) {
    #back-to-top,
    .back-to-top,
    a.back-to-top,
    .scrollToTop,
    .go-top {
        bottom: 100px !important;
        z-index: 999998 !important;
    }
}

/* Move Back-to-Top button above mobile navigation */
@media screen and (max-width: 1199.98px) {
    .mybtn1,
    .mybtn1 i.fa-chevron-right {
        bottom: 100px !important;
    }
}

/* BACK TO TOP - FIXED ABOVE MOBILE BOTTOM NAVIGATION */
@media screen and (max-width: 1199.98px) {
    body .bottomtotop {
        position: fixed !important;
        bottom: 140px !important;
        right: 15px !important;
        left: auto !important;
        top: auto !important;
        z-index: 1000001 !important;
    }
}

/* FIX: MOVE ACTUAL BACK TO TOP ICON ABOVE BOTTOM NAV */
@media screen and (max-width: 1199.98px) {
    body .bottomtotop > i {
        position: fixed !important;
        bottom: 140px !important;
        right: 15px !important;
        left: auto !important;
        top: auto !important;
        z-index: 1000002 !important;
    }
}

/* COPYRIGHT AREA - MOBILE SPACING FIX */
@media screen and (max-width: 1199.98px) {
    #footer.footer {
        background: #101114 !important;
        padding-top: 0 !important;
        margin-bottom: 0 !important;
    }

    #footer.footer .copy-bg {
        margin-top: 0 !important;
        padding-top: 0 !important;
        background: #101114 !important;
    }

    #footer.footer .copy-bg .content {
        padding: 16px 0 8px !important;
        margin: 0 !important;
        line-height: 1.5 !important;
    }
}

/* COPYRIGHT POSITION AND SPACING CORRECTION */
@media screen and (max-width: 1199.98px) {
    #footer.footer {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    #footer.footer .copy-bg {
        margin-top: 5px !important;
        padding: 0 !important;
    }

    #footer.footer .copy-bg .content {
        padding: 22px 0 6px !important;
        margin: 0 !important;
        line-height: 1.5 !important;
    }
}

/* COPYRIGHT AREA AND BOTTOM NAV GAP FIX */
@media screen and (max-width: 1199.98px) {
    #footer.footer,
    #footer.footer .copy-bg {
        background-color: #101114 !important;
    }

    #footer.footer {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
}

/* FINAL OVERRIDE - BACK TO TOP BUTTON POSITION */
@media screen and (max-width: 1199.98px) {
    html body #footer .bottomtotop > i {
        position: fixed !important;
        bottom: 140px !important;
        right: 15px !important;
        left: auto !important;
        top: auto !important;
        z-index: 1000002 !important;
    }
}

/* DEFINITIVE FIX - BACK TO TOP BUTTON */
@media screen and (max-width: 1199.98px) {
    html body .bottomtotop > i {
        position: fixed !important;
        bottom: 140px !important;
        right: 15px !important;
        left: auto !important;
        top: auto !important;
        z-index: 1000002 !important;
    }
}
/* REMOVE WHITE GAP BETWEEN FOOTER AND MOBILE NAV */
@media screen and (max-width: 1199.98px) {

    #footer.footer {
        background: #101114 !important;
        padding-bottom: 75px !important;
        margin-bottom: -75px !important;
    }

    #footer.footer .copy-bg {
        background: #101114 !important;
    }

}
/* COPYRIGHT TEXT SIZE AND POSITION */
@media screen and (max-width: 1199.98px) {

    #footer.footer .copy-bg .content {
        font-size: 14px !important;
        line-height: 1.6 !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        margin-top: -5px !important;
        text-align: center !important;
    }

    #footer.footer .copy-bg .content span {
        font-size: 14px !important;
    }

}

/* PRODGSHOP MOBILE SEARCH POPUP */
@media screen and (max-width: 1199.98px) {

    .prodgshop-mobile-search-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 1000005;
        background: rgba(0, 0, 0, 0.65);
        align-items: flex-start;
        justify-content: center;
        padding: 100px 16px 20px;
    }

    .prodgshop-mobile-search-overlay.is-open {
        display: flex;
    }

    .prodgshop-mobile-search-box {
        width: 100%;
        max-width: 500px;
        background: #FFFFFF;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 10px 35px rgba(0,0,0,.25);
    }

    .prodgshop-mobile-search-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 18px;
    }

    .prodgshop-mobile-search-header h3 {
        margin: 0;
        color: #222222;
        font-size: 19px;
        font-weight: 700;
    }

    #prodgshop-search-close {
        border: 0;
        background: transparent;
        color: #333333;
        font-size: 30px;
        line-height: 1;
        cursor: pointer;
    }

    .prodgshop-mobile-search-input {
        display: flex;
        align-items: center;
        gap: 10px;
        border: 1px solid #DDDDDD;
        border-radius: 8px;
        padding: 8px 10px;
        background: #FFFFFF;
    }

    .prodgshop-mobile-search-input > i {
        color: #777777;
    }

    .prodgshop-mobile-search-input input {
        flex: 1;
        min-width: 0;
        height: 40px;
        border: 0;
        outline: none;
        background: transparent;
        color: #222222;
        font-size: 15px;
    }

    .prodgshop-mobile-search-input button {
        border: 0;
        border-radius: 6px;
        background: #FE695E;
        color: #FFFFFF;
        padding: 10px 13px;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
    }

    .prodgshop-search-hint {
        margin: 12px 0 0;
        color: #777777;
        font-size: 12px;
    }
}

/* FINAL MOBILE SEARCH POPUP VISIBILITY FIX */
@media screen and (max-width: 1199.98px) {

    #prodgshop-mobile-search {
        display: none !important;
        position: fixed !important;
        inset: 0 !important;
        z-index: 1000005 !important;
        background: rgba(0, 0, 0, 0.65) !important;
        align-items: flex-start !important;
        justify-content: center !important;
        padding: 100px 16px 20px !important;
        box-sizing: border-box !important;
    }

    #prodgshop-mobile-search.is-open {
        display: flex !important;
    }

    #prodgshop-mobile-search .prodgshop-mobile-search-box {
        width: 100% !important;
        max-width: 500px !important;
        background: #FFFFFF !important;
        border-radius: 12px !important;
        padding: 20px !important;
        box-sizing: border-box !important;
    }
}

/* PRODGSHOP MOBILE HEADER LOGO POSITION */
@media screen and (max-width: 767.98px) {
    .logo-header .logo img {
        transform: translate(-3px, 3px) !important;
    }
}

/* PRODGSHOP DESKTOP HEADER LOGO POSITION */
@media screen and (min-width: 768px) {
    .logo-header .logo img {
        transform: translate(-5px, -5px) !important;
    }
}