* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.4s ease;
    ;
}

::selection {
    color: #fff;
    background: #0199346d;
}

:root {
    --body-color: #E4E9F7;
    --nav-color: #ffffff;
    --side-nav: #010718;
    --text-color: #000000;
    --search-bar: #F2F2F2;
    --search-text: #010718;
}

body {
    height: 100vh;
    background-color: var(--body-color);
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 75px;
    width: 100%;
    z-index: 100;
}

.logo.navLogo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 10px;
}

.shop_name {
    font-size: 25px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .shop_name {
        font-size: 20px;
        font-weight: bold;
    }
}

@media (max-width:426px) {
    .shop_name {
        font-size: 12px;
        font-weight: bold;
    }
}


@media (max-width: 321px) {
    .shop_name {
        font-size: 10px;
        font-weight: bold;
    }
}

nav .nav-bar {
    position: relative;
    height: 100%;
    width: 100%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    box-shadow: 1px 1px 5px #00000024;
}

nav .nav-bar .sidebarOpen {
    color: var(--text-color);
    cursor: pointer;
    display: none;
    font-size: 35px;
    font-weight: 100;
    margin-left: 10px;
}

nav .nav-bar .logo a {
    color: var(--text-color);
    text-decoration: none;
}

.menu .logo-toggle {
    display: none;
}

.nav-bar .nav-links {
    display: flex;
    align-items: center;
}

.nav-bar .nav-links li {
    padding-top: 10px;
    padding-right: 35px;
    list-style: none;
}

.nav-links li a {
    position: relative;
    font-size: 15px;
    font-weight: 200;
    color: black;
    text-decoration: none;
}

.nav-links li a::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background-color: white;
    opacity: 0;
    transition: all 0.3s ease;
}

.nav-links li:hover a::before {
    opacity: 1;
}

.nav-bar .darkLight-searchBox {
    display: flex;
    align-items: center;
    justify-content: start;
    flex-direction: row;
}


.searchToggle i.cancel {
    opacity: 0;
    pointer-events: none;
}

.searchToggle.active i.cancel {
    opacity: 1;
    pointer-events: auto;
}

.searchToggle.active i.search {
    opacity: 0;
    pointer-events: none;
}

.searchBox {
    position: relative;
}

.searchBox .search-field {
    position: absolute;
    bottom: -85px;
    right: 5px;
    height: 50px;
    width: 300px;
    display: flex;
    align-items: center;
    background-color: var(--nav-color);
    padding: 3px;
    border-radius: 6px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.searchToggle.active~.search-field {
    bottom: -74px;
    opacity: 1;
    pointer-events: auto;
}

.search-field::before {
    content: '';
    position: absolute;
    right: 14px;
    top: -4px;
    height: 12px;
    width: 12px;
    background-color: var(--nav-color);
    transform: rotate(-45deg);
    z-index: -1;
}

.search-field input {
    height: 100%;
    width: 100%;
    padding: 0 45px 0 15px;
    outline: none;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
    color: var(--search-text);
    background-color: var(--search-bar);
}

body.dark .search-field input {
    color: var(--text-color);
}

.search-field i {
    position: absolute;
    color: var(--nav-color);
    right: 15px;
    font-size: 22px;
    cursor: pointer;
}

body.dark .search-field i {
    color: var(--text-color);
}

.footer-menu {
    display: none;
}

#banner-section {
    overflow: hidden;
}

/* #banner-section img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0px;
} */

#nav-icons {
    display: none;
}



.footer-section {
    background-color: #31533F;
}

.footer-contact-info div {
    padding: 5px;
}

.footer-social-media {
    padding: 5px;
}

.f-nav-items li {
    padding-bottom: 10px;
    list-style: none;
}

.text-footer-color {
    color: #ffffff9d;
}

.f-nav-items li a {
    font-size: 15px;
    text-decoration: none;
    color: #ffffffb3;
}

.f-nav-items li a:hover {
    text-decoration: underline;
}

#renderShopLogo {
    object-fit: contain;
}

.footer-bottom {
    color: white;
    font-size: 12px;
}

.footer-bottom a {
    text-decoration: none;
    color: white;
}

.product-name-trucut {
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 250px;
    white-space: nowrap;
}

#search-field {
    width: 75%;
}

.on-preview-active {
    border: 3px solid green;
}

.card-product-view {
    width: 80%;
}

.product-desc-view h3 {
    font-weight: 400;
}

.form-loin {
    border-bottom: #000000 2px solid;
}


@media (max-width: 790px) {
    .card-shop table th {
        font-size: 9px;
    }

    .card-shop table td {
        font-size: 11px;
    }

    .card-product-view {
        width: 100%;
    }

    nav .nav-bar {
        position: relative;
        height: 100%;
        width: 100%;
        background-color: white;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-shadow: 1px 1px 5px #00000048;
    }

    nav .nav-bar .sidebarOpen {
        display: block;
    }

    #nav-icons {
        display: block;
    }

    .menu {
        position: fixed;
        height: 100%;
        width: 320px;
        left: -100%;
        top: 75px;
        background-color: var(--nav-color);
        z-index: 100;
        transition: all 0.4s ease;
    }

    nav.active .menu {
        left: -0%;
        padding: 0;
        margin: 0;
    }

    nav.active .nav-bar .navLogo a {
        opacity: 1;
        transition: all 0.3s ease;
    }

    .menu .logo-toggle {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-bar .siderbarClose {
        color: var(--text-color);
        font-size: 35px;
        font-weight: lighter;
        cursor: pointer;
    }

    .nav-bar .nav-links {
        padding: 0%;
        margin: 0px;
        flex-direction: column;
        display: flex;
        align-items: start;
        justify-content: start;
        text-align: start;
    }

    .nav-bar .nav-links li {
        width: 320px;
        padding-bottom: 10px;
        padding-left: 10px;
        border-bottom: 2px solid #28282843;
        list-style: none;
    }

    .nav-links li a {
        display: flex;
        font-size: 16px;
        font-weight: 500;
    }

    .footer-menu {
        display: block;
    }

    .footer-social {
        position: absolute;
        bottom: 100px;
        left: 0;
    }

    .footer-link a {
        margin-left: 65px;
        margin-right: 65px;
        font-size: 13px;
        text-decoration: none;
        color: black;
    }

    .footer-link a:hover {
        color: green;
        text-decoration: underline;
    }
}

.scroll-table-data {
    overflow: scroll;
    width: 100%;
    height: max-content;

}

#renderShopLogo:hover {
    transform: scale(1.05);
}

.scroll-table-data::-webkit-scrollbar {
    width: 2px;
    height: 2px;
}

.card-product button {
    font-weight: 500;
}

.nav-links li a {
    cursor: pointer;
}

#render-product-view-mobile {
    display: none !important;
}

.product-desc-name{
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
}

@media (max-width: 767px) {
    .product-desc-name{
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    #render-product-view-descktop {
        display: none;
    }

    #render-product-view-mobile {
        display: block !important;
    }

}

@media (max-width: 426px) {

    .product-desc-name {
        text-align: center;
    }

    #banner-section img {
        width: 100%;
        height: 30vh;
        object-fit: cover;
        border-radius: 0px;
    }

    #search-field {
        width: 100%;
    }

    .card-product h6 {
        font-size: .75rem;
    }

    .card-product span {
        font-size: .75rem;
    }

    .card-product button {
        font-size: 12px;
        font-weight: 500;
    }
}

@media (max-width: 319px) {
    .menu {
        display: none;
    }
}


.product-image-res img {
    width: 100%;
    height: 100%;
}

@media (max-width: 769px) {
    .product-image-res img {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 400px) {
    .product-image-res img {
        width: 100%;
        height: 125px;
    }
}

.footer-link {
    display: none;
}