html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/*.container-fluid {
    background-color: white
}*/

.AppliedFilter {
height:fit-content;
/*width:fit-content;*/
}

.AppliedFilterItem {
    background-color: skyblue;
    border-radius: 8px;
    text-align: center;
    width: fit-content;
    padding: .25rem;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: .2rem !important;
    color: black;
    border-color: black;
    border-style: solid;
}

.BrandFilter {
    max-height: 200px;
    overflow: scroll;
}

.CategoriesFilter {
    max-height: 200px;
    overflow: scroll;
}

.PageMargin {
margin-top:3rem
}

.ProductFlavor {
    width: 100%;
    display: inline-block;
    margin-bottom: 25px;
    margin-top: 25px;
}

    .ProductFlavor span:hover {
        background: #3d464d;
        color: white;
    }

    .ProductFlavor span.active {
        background: #3d464d;
        color: white;
    }

    .ProductFlavor span {
        padding: 6px 12px;
        border-radius: 2px;
        float: left;
        background: #EFEFEF;
        text-align: center;
        margin-right: 15px;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
    }

.btn-addto-cart {
    background: #d9be2a !important;
    position: relative;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1), 0 2px 5px 0 rgba(0, 0, 0, 0.15);
}

    .btn-addto-cart:hover {
       background: #ffc800 !important;
    }

.CheckoutProductsList {
    max-height: 200px;
    overflow: scroll;
    padding: 0 .25rem 0 .25rem;
}


/*Range slider css*/
/* range slider container */
.range-slider {
    position: relative;
    width: 100%;
    height: 50px;
    margin: 10px 0;
}

/* Slider track (the base line) */
.slider-track {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    transform: translateY(-50%);
    border-radius: 4px;
}

/* Colored range bar (between handles) */
.slider-range {
    position: absolute;
    top: 50%;
    height: 8px;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    transform: translateY(-50%);
    border-radius: 4px;
}

/* Slider handles */
.slider-handle {
    position: absolute;
    top: 50%;
    width: 24px;
    height: 24px;
    background: #fff;
    border: 2px solid #2575fc;
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    touch-action: none;
    z-index: 2;
}

.RangeTextbox {
margin-left:10%
}

.inputs label
{
    margin-top:.3rem
}

.success-container {
    max-width: 800px;
    margin: 60px auto;
    text-align: center;
    font-family: Arial, sans-serif;
}

.success-icon {
    width: 120px;
    height: 120px;
    border: 6px solid #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

    .success-icon span {
        font-size: 64px;
        color: #28a745;
        line-height: 1;
    }

.success-title {
    font-size: 28px;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

th {
    background-color: #3d464d;
    font-weight: bold;
    color:white;
}

.total-row td {
    font-weight: bold;
    border-top: 2px solid #333;
}

.spinner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.big-spinner {
    width: 80px;
    height: 80px;
    border: 8px solid #cce5ff; /* light blue */
    border-top: 8px solid #0d6efd; /* bootstrap blue */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.dropdown-menu {
padding:0!important;
}

.inline-gap > * {
    margin-right: .5rem;
}

    .inline-gap > *:last-child {
        margin-right: 0;
    }


.chips-container {
    min-height: 38px;
    padding: 4px 6px;
    cursor: text;
    height: auto !important;
    max-height: 200px;
    overflow-y: auto;
}

.chip {
    background-color: #0d6efd;
    color: #fff;
    padding: 2px 6px;
    border-radius: 13px;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
}

    .chip button {
        background: none;
        border: none;
        color: #fff;
        margin-left: 6px;
        font-size: 0.9rem;
        cursor: pointer;
    }

.chip-input {
    outline: none;
    min-width: 120px;
}

.lookup-item.active {
    background-color: #0d6efd;
    color: #fff;
}

.product-img-inner {
    overflow: hidden;
}

.sale-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: #dc3545;
    color: #fff;
    border-radius: 3px;
    padding: 4px 8px;
    font-size: .75rem;
    font-weight: 600;
    transform: none;
    transform: none;
    z-index: 20;
    pointer-events: none;
    opacity: .9;
    width: 30%;
    text-align: center;
}

.sale-legend .legend-box {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    display: inline-block;
}

/* Reuse row colors */
.sale-active {
    background-color: #e8f5e9; /* light green */
    border-left: 4px solid #2e7d32;
}

.sale-inactive {
    background-color: #fdecea; /* light red */
    border-left: 4px solid #c62828;
}

#logo-img {
    width: 25%;
    height: auto;
}

/* Tablet */
@media (max-width: 991px) {
    #logo-img {
        width: 40%;
    }
}

/* Mobile */
@media (max-width: 576px) {
    #logo-img {
        width: 70%;
    }
}


.logo-bar {
    text-align:center;
}

.nav-text {
    font-size: 20px !important;
    font-weight: bold !important;
}
/* Slim navbar base */
.slim-navbar {
    padding-top: 0.03rem !important;
    padding-bottom: 0.03rem !important;
    /*min-height: 48px !important;*/
}

    /* Compact nav links */
    .slim-navbar .nav-link {
        padding-top: 0.4rem !important;
        padding-bottom: 0.4rem !important;
        line-height: 1.2 !important;
        flex-shrink: 0 !important;
    }

    /* Prevent nav shrinking */
    .slim-navbar .navbar-nav {
        flex-shrink: 0 !important;
    }

/* Center group (nav + search) */
.nav-center-group {
    display: flex;
    align-items: center;
    gap: 50px; /* uniform spacing between the 3 sections */
}


/* Search sizing */
.search-group {
    width: 100% !important;
}

#search-for-products {
    max-width: 420px !important;
}

/* Slim search controls */
.slim-navbar .form-control,
.slim-navbar .btn {
    height: 30px !important;
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
    font-size: 0.875rem !important;
}

/* Icon buttons */
.slim-navbar .navbar-nav .btn {
    line-height: 1 !important;
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}





/* Make dropdown items behave like nav links on hover */
.navbar .dropdown-menu .dropdown-item {
    background-color: transparent;
    color: inherit;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

    /* Hover state: text-only change, no background */
    .navbar .dropdown-menu .dropdown-item:hover,
    .navbar .dropdown-menu .dropdown-item:focus {
        background-color: transparent !important;
        color: #ffc107; /* match your nav hover color */
    }

    /* Optional: remove Bootstrap active background */
    .navbar .dropdown-menu .dropdown-item.active {
        background-color: transparent;
        color: #ffc107;
    }

.center-screen-single-line-text {
    font-size: x-large;
    font-weight: 500;
    text-align: center;
    padding-top: 1rem;
}

.page-title {
    /*text-align: center;*/
    padding: .5rem;
    background-color: #fff;
    font-family: system-ui;
    /*   color: #d9be2a;*/
    color: #3d464d;
    font-size: 1.7rem;
}

.out-of-stock {
    margin-left: .5rem;
    color: red;
    font-weight: bold;
}


.more-link {
    display: flex;
    justify-content: flex-end;
    font-weight: bold;
    font-size: large;
    margin-top:.75rem;
}




/* Brand card */
.brand-card {
    background: #ffffff;
    border-radius: 14px;
    transition: all 0.25s ease;
    height: 100%;
    border: 1px solid #eee;
}

.brand-tile:hover .brand-card {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

/* Round image */
.brand-avatar {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .brand-avatar img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

/* Text tweaks */
.brand-card h6 {
    font-weight: 600;
    letter-spacing: 0.3px;
}

.global-product-search-ul {
    z-index: 1050;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 2.2rem;
    min-width: 350px;
}

.global-product-search-li {
    cursor:pointer;
}

.orders-radio-lable {
margin:.75rem!important;
}

#bannerPreview {
    border-radius: 8px;
    margin-top: 10px;
}

/*** bootstrap accordian, form-select (and any other class) css (copied from https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css ) as we don't have the entire css loaded***/
/*** as can't load the entire css, because we have a custom version of it (for the template we are using)***/

.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    color: #212529;
   /* color: #d9be2a;*/
    text-align: left;
    /* background-color: #fff;*/
    background-color: #f5f5f5;
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,border-radius .15s ease;
}

@media (prefers-reduced-motion:reduce) {
    .accordion-button {
        transition: none
    }
}

.accordion-button:not(.collapsed) {
       color: #0c63e4;
    /*color: #d9be2a;*/
    /*background-color: #e7f1ff;*/
    background-color: #f5f5f5;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125)
}

    .accordion-button:not(.collapsed)::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        transform: rotate(-180deg)
    }

.accordion-button::after {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    content: "";
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform .2s ease-in-out
}

@media (prefers-reduced-motion:reduce) {
    .accordion-button::after {
        transition: none
    }
}

.accordion-button:hover {
    z-index: 2
}

.accordion-button:focus {
    z-index: 3;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13,110,253,.25)
}

.accordion-header {
    margin-bottom: 0
}

.accordion-item {
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.125)
}

    .accordion-item:first-of-type {
        border-top-left-radius: .25rem;
        border-top-right-radius: .25rem
    }

        .accordion-item:first-of-type .accordion-button {
            border-top-left-radius: calc(.25rem - 1px);
            border-top-right-radius: calc(.25rem - 1px)
        }

    .accordion-item:not(:first-of-type) {
        border-top: 0
    }

    .accordion-item:last-of-type {
        border-bottom-right-radius: .25rem;
        border-bottom-left-radius: .25rem
    }

        .accordion-item:last-of-type .accordion-button.collapsed {
            border-bottom-right-radius: calc(.25rem - 1px);
            border-bottom-left-radius: calc(.25rem - 1px)
        }

        .accordion-item:last-of-type .accordion-collapse {
            border-bottom-right-radius: .25rem;
            border-bottom-left-radius: .25rem
        }

.accordion-body {
    padding: 1rem 1.25rem;
    font-weight:500;
}

.accordion-flush .accordion-collapse {
    border-width: 0
}

.accordion-flush .accordion-item {
    border-right: 0;
    border-left: 0;
    border-radius: 0
}

    .accordion-flush .accordion-item:first-child {
        border-top: 0
    }

    .accordion-flush .accordion-item:last-child {
        border-bottom: 0
    }

    .accordion-flush .accordion-item .accordion-button {
        border-radius: 0
    }
.FAQParentDiv {
background-color:white;
padding-top:2rem;
padding-bottom:1rem;
}
    /**End of bootstrap css for FAQ page**/


.form-select {
    display: block;
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    -moz-padding-start: calc(0.75rem - 3px);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none
}

@media (prefers-reduced-motion:reduce) {
    .form-select {
        transition: none
    }
}

.form-select:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13,110,253,.25)
}

.form-select[multiple], .form-select[size]:not([size="1"]) {
    padding-right: .75rem;
    background-image: none
}

.form-select:disabled {
    background-color: #e9ecef
}

.form-select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #212529
}

.form-select-sm {
    padding-top: .25rem;
    padding-bottom: .25rem;
    padding-left: .5rem;
    font-size: .875rem
}

.form-select-lg {
    padding-top: .5rem;
    padding-bottom: .5rem;
    padding-left: 1rem;
    font-size: 1.25rem
}