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;
}

.search-text {
    color: white;
}

.full-body {
    overflow-y: auto !important;
}


.body-main {
    padding-top: 7rem;

}
.nav-home {
    background-color: #343a40 !important;
    position: fixed;
    width: 100%;
    height: 4rem;
    position: fixed;
    z-index: 99;
    width: 100%;
}
.nav-menu {
    position: fixed;
    width: 100%;
    top:4rem;
    height: 4rem;
    position: fixed;
    z-index: 99;
    width: 100%;
}

::-webkit-scrollbar {
    width: 8px;
    background: #f1f1f1; 
}

::-webkit-scrollbar-track {
    background: #f8f9fa; 
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #63a4ff, #ffb74d); 
    border-radius: 10px;
}
    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #4d94ff, #ffa726);
    }

.btn-back {
    border-radius: 28px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
    .btn-back:hover {
        transform: scale(1.05);
    }
.add-to-cart-btn {
    background-color: #FFA41C;
    color: #ffffff;
    font-weight: bold;
    border: none;
    padding: 10px 20px;
    border-radius: 28px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
    .add-to-cart-btn:hover {
        background-color: #FF8C00; 
        transform: scale(1.05); 
    }

.see-more-link, .text-link {
    color: #007BFF; 
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

    .see-more-link, .text-link:hover {
        color: #0056b3;
        text-decoration: underline;
    }




.dataTable tbody tr:nth-child(even) {
    background-color: #f8f9fa; 
}

.dataTable tbody tr:nth-child(odd) {
    background-color: #ffffff; 
}

.dataTable tbody tr td {
    color: #000; 
}
.dataTables_wrapper .dataTables_paginate {
    background-color: #ffffff !important; 
    padding: 5px;
}

    .dataTables_wrapper .dataTables_paginate .paginate_button {
        color: #000 !important; 
        background-color: #f1f1f1 !important; 
        border: 1px solid #ddd !important;
        padding: 5px 10px;
        margin: 2px;
        cursor: pointer;
    }

        .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
            background-color: #007bff !important; 
            color: #fff !important;
        }

        .dataTables_wrapper .dataTables_paginate .paginate_button.current {
            background-color: #007bff !important;
            color: #ffffff !important;
            border: 1px solid #007bff !important;
        }

        .dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
            color: #ccc !important;
            cursor: not-allowed;
            background-color: #e9ecef !important;
        }



.auth-page .form-control {
    border: 2px solid #5C8D89;
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
    background-color: #ffffff;
    color: #333;
}

    .auth-page .form-control:focus {
        border-color: #497074;
        box-shadow: 0 0 5px rgba(92, 141, 137, 0.5);
    }

/* Dropdown Styling */
.auth-page .form-select {
    border: 2px solid #5C8D89;
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
    background-color: #ffffff;
    color: #333;
}

    .auth-page .form-select:focus {
        border-color: #497074;
        box-shadow: 0 0 5px rgba(92, 141, 137, 0.5);
    }

.auth-page .form-floating label {
    color: #555;
}

.auth-page .form-check-input {
    border: 2px solid #5C8D89;
}

    .auth-page .form-check-input:checked {
        background-color: #5C8D89;
    }





.add-address-btn {
    font-weight: bold;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease-in-out;
}

    .add-address-btn:hover {
        background: #497074;
    }

.edit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    text-decoration: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease-in-out;
}

    .edit-icon:hover {
        background: #5C8D89;
        color: white;
    }




.auth-page .address-card {
    border: 2px solid #5C8D89;
    border-radius: 8px;
    padding: 15px;
    background-color: #ffffff;
    transition: all 0.3s ease-in-out;
}

    .auth-page .address-card:hover {
        box-shadow: 0px 4px 8px rgba(92, 141, 137, 0.2);
        transform: translateY(-2px);
    }

.auth-page .btn-outline-primary {
    border-color: #5C8D89;
    color: #5C8D89;
}

    .auth-page .btn-outline-primary:hover {
        background-color: #5C8D89;
        color: white;
    }

.auth-page .btn-outline-danger {
    border-color: #DC3545;
    color: #DC3545;
}

    .auth-page .btn-outline-danger:hover {
        background-color: #DC3545;
        color: white;
    }
.auth-page .btn-success {
    background-color: #5C8D89;
    border: none;
}

    .auth-page .btn-success:hover {
        background-color: #497074;
    }

.auth-page .edit-icon {
    border: none;
    font-size: 18px;
}

.auth-page h5 {
    font-weight: bold;
}

.auth-page .badge {
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 12px;
}

    html {
        position: relative;
        min-height: 100%;
    }

    body {
        background-image: none !important;
        background-color: #ffff !important;
        margin-bottom: 60px;
        overflow-x: hidden !important;
    }

    #navbarNav {
        overflow: auto;
    }

    .navbar {
        --bs-navbar-padding-x: 1x;
    }

    .formProduct {
        overflow: auto;
        height: 23rem;
        overflow-x: hidden;
        padding: 1rem;
    }

    .modal-dialog {
        max-width: 40%;
    }


    .modal-product .modal-dialog {
        max-width: 800px;
    }

    .modal-content {
        max-height: 80vh;
        overflow-y: hidden;
    }

    .modal.fade .modal-dialog {
        display: flex;
        align-items: center;
        justify-content: center;
    }


    #tblCategory {
        width: 100% !important;
    }

    .search-result {
        padding-right: calc(var(--bs-gutter-x) * -0.5);
        padding-left: calc(var(--bs-gutter-x) * -0.5);
    }

    .text-primary {
        color: #0d2a4d !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
    }

    .btn-danger {
        background-color: red !important;
    }

    .select2-container--default .select2-results__option {
        color: #0d2a4d !important;
        background-color: #fff !important;
    }

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        color: #0d2a4d !important;
    }

    .select2-container--default .select2-results__option--highlighted[aria-selected] {
        background-color: #007bff !important;
        color: #0d2a4d !important;
    }


    .navbar-logo {
        height: 50px;
        width: 60px;
        max-width: 100%;
        transition: transform 0.3s ease-in-out;
    }

        .navbar-logo:hover {
            transform: scale(1.1);
        }





    .product-card {
        transition: box-shadow 0.2s;
        border-radius: 10px !important;
    }

        .product-card:hover {
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

    .image-container {
        overflow: hidden;
        height: 350px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .product-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform 0.3s ease-in-out;
    }

    .image-container:hover .product-image {
        transform: scale(1.1);
    }

    .btn-primary {
        background-color: #6610f2 !important;
        border: none;
        padding: 8px 12px;
        border-radius: 10px;
    }

        .btn-primary:hover, .btn-primary:focus {
            background-color: #0056b3;
        }




    .slider-img {
        height: 262px;
        object-fit: fill;
    }





    @media (max-width: 768px) {
        .slider-img {
            height: 300px;
        }

        .image-container {
            height: 200px;
        }
    }

    @media (max-width: 576px) {
        .slider-img {
            height: 250px;
        }

        .image-container {
            height: 180px;
        }
    }


    .text-white {
        --bs-text-opacity: 1;
        color: #0d2a4d !important;
    }







    .navbar-bg {
        background-color: #0d6efd !important;
    }

    .navbar-nav {
        flex-wrap: nowrap !important;
        overflow: hidden;
        white-space: nowrap;
        justify-content: flex-start !important; /* Align menu items to the start */
    }

        .navbar-nav .dropdown:hover > .dropdown-menu,
        .dropdown-submenu:hover > .subcategory-menu {
            display: block;
            margin-top: 0;
        }

    .dropdown-menu {
        background-color: #ffffff !important;
        border: 1px solid #ddd;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    }

    .dropdown-item {
        color: #0d2a4d !important;
        font-weight: 500;
        padding: 10px 15px;
    }

        .dropdown-item:hover {
            background-color: rgba(0, 0, 0, 0.05) !important;
            color: #0d2a4d !important;
        }

    .all-categories-dropdown {
        max-height: 300px;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: #888 #f1f1f1;
    }

        .all-categories-dropdown::-webkit-scrollbar {
            width: 6px;
        }

        .all-categories-dropdown::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 10px;
        }

    .subcategory-menu {
        display: none;
        position: static;
        left: 100%;
        top: 0;
        background-color: #e0e0e0 !important; /* Darker grey for better contrast */
        border-left: 1px solid #6c757d; /* More defined border */
        padding-left: 15px; /* Indentation to make it look like a submenu */
        margin-left: 2px;
    }

    .dropdown-submenu:hover > .subcategory-menu,
    .dropdown-submenu .category-toggle:focus + .subcategory-menu {
        display: block;
        position: static;
        background-color: #e6dcdc !important;
    }













    .original-price .text-suceess {
        color: #0d2a4d !important;
    }

    .text-limk {
        color: #007bff !important;
    }

    h1, h2, h3, h4, h5, del, strong, th, p, ul, label, option, input, textarea {
        color: #0d2a4d !important;
    }

    .navbar-dark .navbar-nav .nav-link {
        color: white !important;
    }

    .dropdown-hover {
        z-index: 100;
        position: fixed !important;
    }

    @media (max-width: 768px) {
        .dropdown-hover {
            display: none !important;
        }

        .navbar-nav .dropdown > .dropdown-menu {
            display: block;
            position: static;
        }
    }

    .card {
        height: 100%;
    }

    .card-body {
        flex-grow: 1;
    }

    .image-container {
        position: relative;
        overflow: hidden;
    }

    .product-image {
        height: 250px;
        object-fit: contain;
        transition: transform 0.3s ease-in-out;
    }

    .image-container:hover .product-image {
        transform: scale(1.05);
    }

    .card-link {
        color: inherit;
        text-decoration: none;
    }


    .under-anchor {
        text-decoration: none !important;
    }
    /*


.card:hover {
    transform: translateY(-5px); 
}
*/
    .alert {
        font-size: 1.2rem;
    }

    @media (max-width: 768px) {
        .col-md-4 {
            margin-bottom: 15px;
        }
    }

    .card .text-muted {
        color: #0d2a4d !important;
    }











    .thumbnails {
        overflow: auto;
        height: 23rem;
        padding: 1rem;
        gap: 10px;
        /*    height: 400px;
*/ width: auto;
        /*    overflow-y: auto;
*/ overflow-x: hidden;
    }



        .thumbnails::-webkit-scrollbar {
            width: 6px; /* Narrow width */
        }

        .thumbnails::-webkit-scrollbar-track {
            background: #f1f1f1; /* Light gray */
            border-radius: 10px;
        }

        .thumbnails::-webkit-scrollbar-thumb {
            background: #888; /* Darker gray */
            border-radius: 10px;
        }

            .thumbnails::-webkit-scrollbar-thumb:hover {
                background: #555; /* Even darker gray */
            }



    .formProduct::-webkit-scrollbar {
        width: 6px; /* Narrow width */
    }

    .formProduct::-webkit-scrollbar-track {
        background: #f1f1f1; /* Light gray */
        border-radius: 10px;
    }

    .formProduct::-webkit-scrollbar-thumb {
        background: #888; /* Darker gray */
        border-radius: 10px;
    }

        .formProduct::-webkit-scrollbar-thumb:hover {
            background: #555; /* Even darker gray */
        }




    .thumbnails img {
        background-color: transparent;
        width: 70px;
        height: 70px;
        border: 2px solid #ddd;
        cursor: pointer;
        transition: transform 0.2s ease, border-color 0.2s ease;
        object-fit: contain;
    }

        .thumbnails img:hover {
            transform: scale(1.1);
            border-color: #007bff;
        }

    .main-image-container {
        position: relative;
        width: 100%;
        max-width: 400px;
        height: 400px;
        overflow: hidden;
        border: 2px solid #ddd;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #f8f9fa;
    }

    #mainImage {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .zoom-lens {
        position: absolute;
        width: 120px;
        height: 120px;
        background: rgba(255, 255, 255, 0.3);
        border: 1px solid #999;
        display: none;
        pointer-events: none;
    }

    .zoom-box {
        width: 550px;
        height: 550px;
        overflow: hidden;
        border: 2px solid #ddd;
        border-radius: 10px;
        position: absolute;
        left: 110%;
        top: 0;
        display: none;
        background-color: #fff;
        z-index: 10;
    }

    #zoomedImage {
        width: 750px;
        height: 750px;
        object-fit: contain;
        transform-origin: center center;
        transition: transform 0.1s ease;
    }

    @media (max-width: 768px) {
        .thumbnails {
            flex-direction: row !important;
            overflow-x: auto;
            white-space: nowrap;
        }

            .thumbnails img {
                width: 60px;
                height: 60px;
            }

        .main-image-container {
            max-width: 100%;
        }

        .zoom-box {
            width: 450px;
            height: 500px;
            left: 0;
            top: 105%;
            max-width: 100%;
        }

        #zoomedImage {
            width: 600px;
            height: 600px;
        }
    }



    .category-logo {
        max-width: 100px;
        height: 100px;
        border-radius: 10px;
        transition: transform 0.3s ease-in-out;
    }

        .category-logo:hover {
            transform: scale(1.1);
        }

    .category-logo-container {
        background-color: #b4e3f7; /* Light Sky Blue */
        padding: 20px;
        border-radius: 10px;
    }








    /*.thumbnails-container {
    position: relative;
    height: 400px;*/ /* Fixed height for the container */
    /*overflow: hidden;*/ /* Hide overflow for the container */
    /*}

.thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;*/ /* Gap between thumbnails */
    /*overflow-y: auto;*/ /* Enable vertical scrolling */
    /*height: 100%;*/ /* Take full height of the container */
    /*padding: 10px 0;*/ /* Add padding to avoid cutting off thumbnails */
    /*scroll-behavior: smooth;*/ /* Smooth scrolling */
    /*}

    .thumbnails img {
        background-color: transparent;
        width: 70px;
        height: 70px;
        border: 2px solid #ddd;
        cursor: pointer;
        transition: transform 0.2s ease, border-color 0.2s ease;
        object-fit: contain;
    }

        .thumbnails img:hover {
            transform: scale(1.1);
            border-color: #007bff;
        }

.scroll-btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.scroll-up {
    top: 0;
}

.scroll-down {
    bottom: 0;
}*/















