/* =========================================
   Base
========================================= */

body {
    padding-top: 32px;
}

img {
    max-width: 100%;
    height: auto;
}

.img {
    height: auto;
}

.container {
    max-width: 1140px !important;
    width: 100%;
}


/* =========================================
   Breadcrumbs
========================================= */

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    padding-right: .4rem;
    color: #adb5bd;
    font-size: 1rem;
    line-height: 1;
}

.breadcrumb-con-main {
    padding: 13px 0 6px;
    margin: 0 auto;
}

.breadcrumb-con-main .breadcrumb {
    background: none;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
    letter-spacing: 0.01em;
}

.breadcrumb-con-main .breadcrumb-item a {
    color: #255f94;
    text-decoration: none;
    transition: color 0.15s;
}

.breadcrumb-con-main .breadcrumb-item a:hover {
    color: #1a4570;
    text-decoration: underline;
}

.breadcrumb-con-main .breadcrumb-item.active {
    color: #495057;
    font-weight: 500;
}

@media screen and (max-width: 480px) {
    .breadcrumb-item + .breadcrumb-item {
        padding-left: .25rem;
    }

    .breadcrumb-con-main .breadcrumb {
        font-size: 0.78rem;
    }
}


/* =========================================
   Branding / Colours
========================================= */

.nav-link {
    color: #255f94 !important;
}

.cart-link {
    color: #255f94 !important;
    font-size: 9pt;
}

.navy-text {
    color: #255f94 !important;
}

.btn-primary {
    background-color: #255f94 !important;
}

.bg-navy {
    background-color: #255f94 !important;
}


/* =========================================
   SVG Icon System
========================================= */

/* Base icon size — matches FA's default 1em inline behaviour */
.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    fill: black;
    overflow: visible;
}

/* Size helpers (mirrors FA's fa-lg, fa-xl etc.) */
.icon-lg { width: 1.25em; height: 1.25em; }
.icon-xl { width: 1.5em;  height: 1.5em;  }
.icon-2x { width: 2em;    height: 2em;    }
.icon-fw { width: 1.25em; } /* fixed-width column alignment */


/* =========================================
   Navigation Tabs (Product Page)
========================================= */

.nav-link.active.border {
    background-color: #343a40 !important;
    color: white !important;
}

.nav-tabs {
    display: none;
}

@media (min-width: 768px) {
    .nav-tabs {
        display: flex !important;
    }

    .card.tab-pane {
        border: none !important;
    }

    .card .collapse {
        display: block !important;
    }

    #left-arrow {
        bottom: 65px;
        font-size: 20px;
        left: 20px;
        position: absolute;
        z-index: 25;
    }

    #right-arrow {
        font-size: 20px;
        bottom: 65px;
        right: 20px;
        position: absolute;
        z-index: 25;
    }
}

@media (max-width: 767px) {
    .tab-pane {
        display: block !important;
        opacity: 1 !important;
    }

    #left-arrow {
        bottom: 45px;
        left: 20px;
        position: absolute;
        z-index: 25;
    }

    #right-arrow {
        bottom: 45px;
        right: 20px;
        z-index: 25;
        position: absolute;
    }
}


/* =========================================
   Product Page — Gallery (RoyalSlider)
========================================= */

.rsUni .rsThumb {
    float: none;
    overflow: hidden;
    width: 80px;
    height: 70px;
    margin: auto;
    clear: both;
    border: 1px solid #eee;
    opacity: 0.5;
    transition: all 0.5s ease;
}

.rsUni .rsThumb img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    margin: 5% auto;
}

.rsUni .rsThumb.rsNavSelected,
.rsUni .rsThumb:hover,
.rsUni .rsThumb:focus {
    border: 1px solid #4f85d0;
    border-left-width: 1px;
    opacity: 1;
}

#gallery-2.royalSlider {
    float: left;
    max-width: 100%;
}

#gallery-2.royalSlider .rsOverflow {
    width: 80%;
    float: right;
}

#gallery-2.royalSlider .rsNav.rsThumbs {
    float: left;
    width: 20%;
}

.rsThumbs {
    padding: 0;
}

.rsThumbsHor {
    height: auto !important;
}

.rsSlide {
    display: flex !important;
    justify-content: center;
}

.rsImg {
    margin-left: 0 !important;
    height: auto !important;
}

.product-cart-detail-con .prod_detail {
    clear: both;
}


/* =========================================
   Product Page — Mobile Gallery Overrides
========================================= */

@media screen and (max-width: 767px) {
    .pro-search-form {
        padding: 0 10px;
    }

    #gallery-2.royalSlider {
        margin: auto;
        width: 100%;
        float: left;
        height: auto !important;
    }

    #gallery-2.royalSlider .rsOverflow {
        clear: both;
        width: 100% !important;
        height: 300px !important;
        margin: 20px auto;
        padding: 0;
    }

    #gallery-2.royalSlider .rsNav.rsThumbs {
        clear: both;
        width: 100%;
        margin: 10px auto;
        padding: 0 !important;
        position: relative;
    }

    #gallery-2.royalSlider .rsContainer .rsSlide .rsImg.rsMainSlideImage {
        width: auto !important;
        margin: auto !important;
        margin-top: 0 !important;
        height: 100% !important;
        max-height: 300px !important;
    }

    .rsUni.rsWithThumbsVer .rsThumbsContainer {
        position: relative;
        height: 100% !important;
        width: auto;
        display: table;
        margin: auto;
        transform: none !important;
    }

    .rsUni.rsWithThumbsVer .rsThumbsArrowLeft,
    .rsUni.rsWithThumbsVer .rsThumbsArrowRight {
        width: 40px;
        height: 40px;
        top: 45%;
        left: 0;
        bottom: auto;
        display: none !important;
    }

    .rsUni.rsWithThumbsVer .rsThumbsArrowRight {
        left: auto;
        right: 0;
    }

    .rsUni .rsThumb {
        clear: none;
        float: left;
        margin: 5px;
    }
}


/* =========================================
   Accordion (Mobile Tab Fallback)
========================================= */

@media screen and (max-width: 767px) {
    #accordion .panel.panel-default {
        clear: both;
        float: left;
        margin: 5px 0;
        width: 100%;
    }

    #accordion .panel.panel-default .panel-title {
        clear: both;
        float: left;
        margin: 0;
        width: 100%;
        color: #f8f9fa;
        background-color: #343a40;
        border: solid 1px #eee;
        border-width: 0;
    }

    #accordion .panel.panel-default .panel-title a,
    #accordion .panel.panel-default .panel-title a:visited {
        padding: 10px 15px;
        color: #fff;
        clear: both;
        float: left;
        margin: 0;
        width: 100%;
        text-decoration: none;
    }

    #accordion .collapse.in {
        display: block;
    }

    #accordion .panel.panel-default .bg-dark {
        background-color: #9c9c9c !important;
    }

    #accordion .panel-collapse,
    #accordion .panel-heading {
        clear: both;
        float: left;
        margin: -1px 0 0;
        width: 100%;
        border: solid 1px #eee;
        border-width: 0 1px 1px;
    }

    #accordion .panel-collapse .table {
        margin-bottom: 0;
    }
}


/* =========================================
   Autocomplete
========================================= */

#autocompleteList {
    position: absolute;
    top: calc(100% + 1px);
    left: auto;
    right: 0;
    width: 100%;
    min-width: 420px;
    max-width: 560px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 4px;
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    overflow: hidden;
}


/* =========================================
   Phone Panel
========================================= */

#phonePanel {
    padding: 12px;
    position: absolute;
    right: -150px;
    top: 65px;
    z-index: 100;
    background-color: yellow;
    transition: .5s;
    border: 1px solid black;
    border-radius: 5px 0 0 5px;
}


/* =========================================
   Filter Panel
========================================= */

#filterPanel {
    position: sticky;
    top: 10px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}


/* =========================================
   Cards
========================================= */

.card {
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}


/* =========================================
   Hero Section
========================================= */

.hero-section {
    min-height: 420px;
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('../images/warehouse-widescreen.webp') center/cover no-repeat;
    position: relative;
}

.category-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #334155 100%);
    color: #fff;
    overflow: hidden;
    position: relative;
}

.category-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.10), transparent 35%);
    pointer-events: none;
}

.category-hero__inner {
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.12);
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.hero-actions .btn {
    min-width: 170px;
}


/* =========================================
   Trust Strip
========================================= */

.trust-strip {
    margin-top: -28px;
    position: relative;
    z-index: 3;
}

.trust-strip .card {
    border-radius: 18px;
}


/* =========================================
   Category & Sub-category Cards
========================================= */

.category-card {
    border-radius: 18px;
    overflow: hidden;
    transition: 0.18s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.10) !important;
}

.category-card__image-link {
    display: block;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.category-card__img {
    object-fit: contain;
    aspect-ratio: 1 / 1;
    padding: 1.25rem;
}

.category-card__badge {
    display: inline-block;
    font-size: 0.73rem;
    font-weight: 700;
    padding: 0.4rem 0.65rem;
    border-radius: 999px;
    background: #dbeafe;
    color: #1e3a8a;
    white-space: nowrap;
}

.categories_banner {
    background-image: url("../images/categories-banner.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 180px;
}

.categories .products_desc.view_more_imgs {
    height: 310px;
}

.categories .products_desc.view_more_imgs p {
    margin-top: -15px !important;
}


/* =========================================
   Brand Cards
========================================= */

.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    text-decoration: none;
    color: #111827;
    background: #fff;
    height: 100%;
    transition: 0.18s ease;
    text-align: center;
}

.brand-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
    color: #1d4ed8;
}

.brand-card__logo {
    width: auto;
    height: auto;
    max-width: 120px;
    max-height: 56px;
    object-fit: contain;
}

.brand-card__name {
    font-size: 0.85rem;
    font-weight: 600;
}


/* =========================================
   Shared Content Styles
========================================= */

.content-card {
    border-radius: 18px;
}

.why-list li,
.buying-list li {
    margin-bottom: 0.65rem;
}

.faq-item {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.faq-item:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-links a {
    margin: 0.35rem 0.35rem 0 0;
}


/* =========================================
   Consultation CTA Banner
========================================= */

.request_consultation {
    background-image: url("../images/free-consultation-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    padding: 70px 0;
    background-position: right top;
}

.consultation_txt {
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 55px 50px 20px;
    overflow: hidden;
}

.consultation_txt h2 {
    font-size: 22px;
    font-weight: 600;
    line-height: 26px;
}

.consultation_txt p {
    font-size: 18px;
    font-weight: 100;
    line-height: 22px;
    margin: 20px 0 25px;
}

.consultation_txt button {
    float: right;
    font-size: 17px;
    padding: 14px 25px;
}


/* =========================================
   Free Consultation Page
========================================= */

.pos_market_solutions {
    align-items: center;
    background-image: url("../images/pos-market-solutions.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    padding: 0;
    margin: 0;
}

.pos_consultation_content {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 50px 110px;
    text-align: center;
    width: 100%;
    font-size: 17px;
}

.pos_consultation_content h2 {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 15px;
}

.pos_consultation_content ul {
    margin: 30px auto 0;
    text-align: left;
    width: 260px;
}

.free_consultation_form {
    padding: 50px;
}


/* =========================================
   Cart Processing — Step Wizard
========================================= */

.bs-wizard {
    margin-top: 40px;
}

.bs-wizard > .bs-wizard-step {
    padding: 0;
    position: relative;
}

.bs-wizard > .bs-wizard-step .bs-wizard-stepnum {
    color: #595959;
    font-size: 16px;
    margin-bottom: 5px;
}

.bs-wizard > .bs-wizard-step .bs-wizard-info {
    color: #999;
    font-size: 14px;
}

.bs-wizard > .bs-wizard-step > .bs-wizard-dot {
    position: absolute;
    width: 30px;
    height: 30px;
    display: block;
    background: #fbe8aa;
    top: 45px;
    left: 50%;
    margin-top: -15px;
    margin-left: -15px;
    border-radius: 50%;
}

.bs-wizard > .bs-wizard-step > .bs-wizard-dot:after {
    content: ' ';
    width: 14px;
    height: 14px;
    background: #fbbd19;
    border-radius: 50px;
    position: absolute;
    top: 8px;
    left: 8px;
}

.bs-wizard > .bs-wizard-step > .progress {
    position: relative;
    border-radius: 0;
    height: 8px;
    box-shadow: none;
    margin: 20px 0;
}

.bs-wizard > .bs-wizard-step > .progress > .progress-bar {
    width: 0;
    box-shadow: none;
    background: #fbe8aa;
}

.bs-wizard > .bs-wizard-step.complete > .progress > .progress-bar { width: 100%; }
.bs-wizard > .bs-wizard-step.active > .progress > .progress-bar { width: 50%; }
.bs-wizard > .bs-wizard-step:first-child.active > .progress > .progress-bar { width: 0%; }
.bs-wizard > .bs-wizard-step:last-child.active > .progress > .progress-bar { width: 100%; }

.bs-wizard > .bs-wizard-step.disabled > .bs-wizard-dot {
    background-color: #f5f5f5;
}

.bs-wizard > .bs-wizard-step.disabled > .bs-wizard-dot:after {
    opacity: 0;
}

.bs-wizard > .bs-wizard-step:first-child > .progress {
    left: 50%;
    width: 50%;
}

.bs-wizard > .bs-wizard-step:last-child > .progress {
    width: 50%;
}

.bs-wizard > .bs-wizard-step.disabled a.bs-wizard-dot {
    pointer-events: none;
}


/* =========================================
   Our Customers Section
========================================= */

.our_customers {
    padding: 60px 0 50px;
    color: #fff;
    background-color: #484848;
    text-align: center;
}


/* =========================================
   Carousel
========================================= */

.carousel.slide img {
    width: 100%;
    height: auto;
}


/* =========================================
   Misc
========================================= */

.selltag {
    position: absolute;
    z-index: 999;
    right: 0;
    top: 0;
}

.news-title {
    font-size: 12pt;
    font-weight: 600;
}


/* =========================================
   Footer
========================================= */

/* Links in dark footer sections — white on #212529 and #181818 */
.container-fluid.bg-dark a,
.container-fluid[style*="181818"] a {
    color: #ffffff;
}

.container-fluid.bg-dark a:hover,
.container-fluid[style*="181818"] a:hover {
    color: #ffffffcc;
    text-decoration: underline;
}

.footerLinks li a {
    color: #ffffff;
}

.footerLinks li a:hover {
    color: #ffffffcc;
    text-decoration: underline;
}

.footerListItem {
    margin: 10px 0;
}

.container-fluid.bg-dark .icon,
.container-fluid[style*="181818"] .icon {
    fill: #ffffff;
}

/* Blog section links */
.blog a {
    color: #ffffff;
}

.blog a:hover {
    color: #ffffffcc;
    text-decoration: underline;
}