html {
    font-size: 14px;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    height: 100%;
}

homepage: h1, p {
    color: white;
}

ol, ul{
    list-type: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #797979;
}
a:hover {
    color: #121212;
}

.fs-7 {
    font-size: .85rem;
}

.fs-8 {
    font-size: .7rem;
}

.modal-header .modal-title {
    width: 100% !important;
}

.navbar-wrap, .bottombar-wrap {
    position: fixed;
    z-index: 1055;
    display: flex;
    background-color: rgba(0,0,0,.1);
    padding-top: var(--bs-gutter-x, .75rem);
}

.navbar-wrap {
    display: flex;
    flex-direction: column;
    top: 0;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .14), 0 2px 0 rgba(0, 0, 0, .05);
}

.bottombar-wrap {
    bottom: 0;
}

.navbar-wrap .navbar-input-group{
    flex-wrap: nowrap;
    max-width: 600px;
}

.main-wrap {
    padding-top: 130px;
    padding-bottom: 50px
}

.navbar-nav{

}

.dropdown-menu.w-100 {
    position: fixed !important;
    top: 100px;
    left: 0;
    right: 0;
    width: 100vw;
    min-height: 40px;
    max-height: 100vh;
    overflow-y: auto;
    z-index: 1055;
    border-radius: 0;
}

#search {
    height: 40px;
    width: 100%;
}
.search-btn {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0px;}

#admin-search {
    height: 40px;

}

#search-suggestions a {
    cursor: pointer;
}
#search-suggestions a.active,
#search-suggestions a:hover {
    background-color: #0d6efd;
    color: white;
}
#search-suggestions {
    position: absolute;
    /* دقیقاً زیر input */
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 300px;
    //overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
}


/* برای دسکتاپ */
@media (min-width: 992px) {
    .main-wrap {
        padding-top: 130px;
        padding-bottom: 100px;
    }

    .bottombar-wrap {
        display: none;
    }

    .dropdown-menu.w-100 {
        top: 98px;
    }
}

/* home box styles */
.home-card-element {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* حالت hover: سایه نقره‌ای */
.home-card-element:hover {
    box-shadow:
        0 8px 20px rgba(192, 192, 192, 0.45),
        0 0 0 1px rgba(220, 220, 220, 0.8);
    transform: translateY(-2px);
}

/* لایه ترنسپرنت */
.home-card-overlay {
    position: absolute;
    background: linear-gradient(
        to top,
        rgba(255, 255, 255, 0.85),
        rgba(255, 255, 255, 0.3)
    );
    transform: translateY(100%);
    transition: transform 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

}

/* اسلاید از پایین به بالا */
.home-card-element:hover .home-card-overlay {
    transform: translateY(0);
}


.thead {
    position: sticky;top: 0;
    background-color: #fff;
}


.admin-navbar {
    height: 60px;
}

.admin-sidebar ul, ol, li {
    margin: 8px;
    list-type: none;
    padding: 0;
}

.list-group a {
    transition: all 0.3s ease;
}

.list-group a:hover {
    background-color: #f1f1f1;
    transform: translateX(5px);
}

.product-image {
    height: 120px !important;
    width: 150px;
}