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;
}


.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;
    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;
}