
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}
body {
    font-family: "Host Grotesk", serif !important;
    /* background-color: #f8f8f8 !important; */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav ul li {
    list-style: none;
    margin: 0 10px;
    cursor: pointer;
}
nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 550;
}

.cap-btn-container {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    background: rgba(255, 255, 255, 0.8);
    padding: 5px;
    border-radius: 25px;
}
.cap-btn {
    background: none;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}
.cap-btn-active {
    background: #ff5a5f;
    color: white;
    border-radius: 20px;
}
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh;
    border-radius: 20px;
    background: #f5f5f5;
}
.card {
    position: relative;
    width:100%;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}
.card:nth-child(1) {
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    margin-right: -20px;
    z-index: 1;
    border-radius: 20px;

}
.card:nth-child(2) {
    background: linear-gradient(135deg, #b3827d, #c9302c);
    color: white;
    z-index: 1;
    border-radius: 20px;

}
/* .card:hover {
    transform: scale(1.05);
    z-index: 3;
} */

.seller-card {
    background: linear-gradient(to right, #ffffff, #e0e0e0);
}
.customer-card {
    background: linear-gradient(to right, #b3827d, #c9302c);
    color: #fff;
}

.button {
    display: block;
    margin-top: 20px;
    padding: 8px;
    border: none;
    border-radius: 4px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}
.seller-btn {
    background: #ffffff;
    color: #101010;
}
.customer-btn {
    background: white;
    color: black;
}
.button:hover {
    opacity: 0.8;
}

.categories {
    background: #ffecec;
    padding: 40px 40px;
    border-radius: 30px;
    text-align: center;
    margin-left: 40px;
    margin-right: 40px;
}

.section-title {
    color: #ff5a5f;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


#sub-category-sidebar{
    position: relative;
    width: 15%;
    height: 75vh;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 16px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#sub-category-content{
    width:85%;
    height: 75vh;
}

.sub-category-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    padding: 6px;
    text-decoration: none;
    margin-bottom: 10px;
    color: black;
    font-size: 16px;
}



.item-highlight {
    position: absolute;
    right: 0;
    width: 0;
    height: 40px;
    border-radius: 10px 0 0 10px;
    background-color: var(--sj-cyan);
    transition: width 0.3s ease;
}

.sub-category-item:hover ,
.sub-category-item.active {
    background-color: var(--sj-cyan);
    color: white;
    border-radius: 6px;
}

.category-detail-grid {
    width: 100%;
    height: 83%;
    display: grid;
    padding: 8px 2px;
    grid-template-columns: repeat(5,19%);
    gap: 10px;
    overflow-y: auto;
}

.category-grid {
    width: 100%;
    height: 75%;
    padding: 8px 2px;
    overflow-y: auto;   
    display: grid;
    grid-template-columns: repeat(6, 15.8%);
    gap: 10px;
    position: relative;
}

.sj-loading
{
    position: fixed;
    bottom:0;
    left: 50%;
    z-index: 1024;
}
.sj-loading div
{
    display: inline-block;
    background-color: var(--sj-cyan);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin: 0 1px;
    animation: l5 1s infinite linear;

}

.sj-loading div:nth-child(1) {
  animation-delay: 0s;
}
.sj-loading div:nth-child(2) {
  animation-delay: 0.2s;
}
.sj-loading div:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes l5 {
  0%   { transform: scale(1); }
  50%  { transform: scale(0.3); }
  100% { transform: scale(1); }
}


.category-item-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-overflow: ellipsis;
    min-height:330px;
}
.category-item-card .top-div{
    position: relative;
    cursor: pointer;
    height:80%;
}
.category-item-card .credit-available{
    width: fit-content;
    position: absolute;
    bottom: 0;
}
.category-item-card .bottom-div{
    height: 10%;
}

.category-item-card-name {
    font-size: 16px;
    font-weight: 600;
    overflow: hidden;
    margin-bottom: 16px !important;
    text-overflow: ellipsis;
}

.line-through {
    width: 100%;
    height: 1.5px;
    background-color: #ccc;
    margin: 10px 0;
}



.category-item-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);

}
.category-item-card img {
    width: 100%;
    height: 100px;
    object-fit: contain;
    margin-bottom: 18px;
}

.logo {
    width: 120px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    text-indent: -9999px;
    transform: scale(1.05);
}

.product-section {
    padding: 20px;
}
.header img{
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 10px;
}
.see-all {
    color: red;
    cursor: pointer;
    text-decoration: none;
}
.slider-container {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
    gap: 15px;
    scrollbar-width: none;
}
.slider-container::-webkit-scrollbar {
    display: none;
}
.slider-container a{
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.product-card {
    min-width: 200px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: white;
    padding: 15px;
    text-align: center;
}
.product-card img {
    width: 100px;
    height: auto;
}
.product-name {
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0;
}
.product-price {
    font-size: 20px;
    color: #000;
}
.slider-container::-webkit-scrollbar {
    display: none;
}
.add-btn {
    display: flex;
    background: #ff4d4d;
    color: white;
    border: none;
    padding:  2px;
    border-radius: 3px;
    cursor: pointer;
}
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    color: #101010;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 30%;
    font-size: 20px;
    z-index: 10;
}
.scroll-left {
    left: 0;
}
.scroll-right {
    right: 0;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 3px;
}
.devCard{
    width: 300px;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    color: white;
}
.devCard img {
    width: 100%;
    border-radius: 10px;
    margin-top: 15px;
}

.border-card1{
    padding: 8px;
    flex:1;
    border: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}
.sustain-container {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background-color: #a0cc45;
    border-radius: 20px;
}
.text-section {
    flex: 1;
    color: black;
    max-width: 40%;
}
.card-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

.sustain-card {
    min-width: 250px;
    max-width: 250px;
    height: 280px;
    border-radius: 15px;
    overflow: hidden;
    background-color: white;
    color: white;
    position: relative;
    padding: 0;
}

.sustain-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.footer {
    background-color: #f8f9fc;
    padding: 40px 80px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
    border-top: 1px solid #ddd;
}

.footer-column {
    margin-bottom: 20px;
}
.footer-column p, .footer-column a {
    font-size: 14px;
    color: #333;
    text-decoration: none;
    line-height: 1.6;
    display: block;
}
.footer-column a:hover {
    text-decoration: underline;
}

.contact-info {
    margin-top: 10px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info img {
    width: 16px;
    height: 16px;
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    margin-right: 15px;
}

.app-icons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.app-icons img {
    width: 120px;
}

.footer-bottom {
    text-align: center;
    padding-top: 10px;
    font-size: 12px;
    color: #666;
    border-top: 1px solid #ddd;
    margin-top: 20px;
}

.footer-logo {
    text-align: right;
}

.footer-logo img {
    width: 150px;
}

.img-fluid{
    width: 90%;
    object-fit: contain;
    max-height: 140px;
    min-height: 100px;
}
.ecom-grid-3{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    height: 100%;
}
#ecom-container{
    width: 100%;
    height: 90%;
    margin: 0;
    padding: 8px;
}
/* Cart icon container */
.cart-icon {
    position: relative;
    display: inline-block;
}

/* Cart count styling */
#cart-count {
    position: absolute;
    top: -40px;
    right: -5px;
    color: white;
    font-size: 18px;
    padding: 5px;
    border-radius: 50%;
    text-align: center;
}
#cart-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    padding-top: 8px;
}
.cart-item{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-radius: 8px;
    border: .2px solid #ccc;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px, rgba(0, 0, 0, 0.06) 0px 1px 2px;
}
.cart-item img{
    width: 100px;
    height: 80px;
    object-fit: contain;
}
#main{
    display:grid;
    grid-template-columns: 18% 82%;
    height: 100vh;
}
#logo{
    width: 75%;
}

#org-box{
    border-top: 3px solid #ccc;
    border-bottom: 3px solid #ccc;
    padding: 6px;
    direction: ltr;
}
#top-bar-1{
    background-color: #343a40;
    width: 100%;
    display: flex;
    gap:16px;
    justify-content: end;
    padding:8px;
}

#top-bar{
    height: 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    gap: 16px;
}
#top-bar a{
    text-decoration: none;
    color: inherit;
    appearance: none;
    margin-bottom: 0;

    &:hover {
        text-decoration: underline;
        color: rgba(0, 28, 64, 0.88);
    }
}
#content {
    position: relative;
    width: 100%;
    height: 100vh;
    padding:0 6px;
    scrollbar-width: thin;
}
#sidebar{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    direction: ltr;
}

#sidebar-wrapper {
    overflow-y: auto;
    overflow-x: hidden;
    direction: ltr;
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100%;
    background-color: var(--sidebar-bg);
    color: #101010;
    transition: all 0.3s ease;
    z-index: 1000;
}

#sidebar-wrapper.sidebar-visible {
    right: 0 ;
}

#sidebar-list{
    width: 100%;
    /*margin-top: 2px;*/
    display: flex;
    flex-direction: column;
    gap: 4px;
    direction: ltr;
}
#sidebar a{
    text-decoration: none;
    color: inherit;
    appearance: none;
    margin-bottom: 0;
}
.sidebar-btn{
    display: block;
    width: 100%;
    font-size: medium;
    padding: 6px;
    cursor: pointer;
    border: 1px solid transparent;
}
.sidebar-options-btn{
    width: 95%;
    display: block;
    cursor: pointer;
    padding: 5px;
    border: 1px solid transparent;
}
.sidebar-options{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 8px;
}
.sidebar-btn:hover, .sidebar-btn-active, .sidebar-options-btn:hover{
    background-color: rgba(31, 33, 35, 0.07);
    border-radius: var(--curve-sm);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray);
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

.overlay.visible {
    display: block;
}


#column-grid{
    display: grid;
    resize: none;
    max-height: 120px;
    overflow-y: auto;
    gap: 4px;
    background-color: var(--gray);
    grid-template-columns: repeat(3,1fr);
}
#addCustomerFormFile, #addCustomerSubmitFile{
    display: none;
}

.circle {
    width: 36px;
    height: 36px;
    border: 1px solid #cacaca;
    border-radius: 50%;
    background-color: white; /* or any color you prefer */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.d-none {
    display: none;
}

.quantity-control {
    width: 100%;
    display: flex;
    align-items: center;
}

.add-to-cart-btn {
    width: 100%;
    font-size: 16px;
    border-radius: var(--curve-sm);
    appearance: none;
    background: none;
    border:1px solid  var(--sj-cyan);
    padding: var(--pd-xs);
    text-transform: capitalize;
    font-family: inherit;
    color: var(--sj-cyan);
    &:hover{
        background-color: var(--sj-cyan);
        color: white;
    }
}

.solid-btn{
    border:1px solid var(--sj-cyan);
    outline: none;
    appearance: none;
    padding: var(--pd-xs);
    text-transform: capitalize;
    font-family: inherit;
    color: white;

    background-color: var(--sj-cyan);
    &:hover{
        background-color: var(--sj-cyan);
    }
}

.delivery-options {
    display: flex;
    gap: 5px;
}
.delivery-btn {
    padding: 5px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    font-size: 14px;
}
.standard {
    background-color: #ffffff;
    color: #101010;
}
.express {
    background-color: #ffffff;
    color: black;
}
.search-bar {
    /*flex-grow: 1;*/
    text-align: center;
    border-radius: 20px;
}
.search-bar input {
    padding: 5px;
    width: 200px;
    border: 1px solid #ccc;
    border-radius: 20px;
}


#mini-cart, #distributor-summary-sidebar{
    height:100vh;
    width: 15%;
    position: fixed;
    padding: 16px;
    right:-15%;
    top: 0;
    background-color: #fff;
    border:1px solid #ccc;
    overflow-y: auto;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
#mini-cart.visible, #distributor-summary-sidebar.visible{
    right:0;
}

.login-container {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
    width: 30%;
}

.register {
    text-align: center;
    margin-top: 15px;
}
.register a {
    color: #4285f4;
    text-decoration: none;
}
#sub-brands-container{
    height: 20vh;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 6px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    overflow-y: auto;
}
.sj-content{
    width: 100%;
    height: 90%;
    padding: 8px;
}
.data-table-container{
    width: 100%;
    height: 90%;
}

.dot::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%; /* Makes it a circle */
    margin-right: 8px;  /* Space between the dot and text */
    margin-bottom: 1px;
}
.dot-success::before
{
    background-color: #198754; /* Green color for success */
}
.dot-danger::before
{
    background-color: #dc3545; /* Red color for danger */
}
.dot-warning::before
{
    background-color: #ffc107; /* Yellow color for warning */
}
.dot-primary::before
{
    background-color: #0d6efd; /* Blue color for primary */
}
.arrow-right::before{
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 20px;
    color: var(--sj-cyan);
    margin: 0 16px;
}
#selected-items-container{
    height: 100px;
    width: 100%;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

/* address styles */
#street{
    height: 100px;
    resize: none;
    overflow-y: auto;
}
#address-container{
    padding: 4px 16px; 
    width: 85%;
    height: 85vh;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}
#mapples-map {
    width: 100%;
    border-radius: 4px;
    height: 80%;
    position: relative;
}
#map-loading {
    display:none;
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    z-index: 100000;
}