*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    font-family: "Montserrat", sans-serif;
}

body{
    width: 100%;
    height: auto;
    display: flex;    
}

.sidebar{
    height: 100%;
    width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    padding: 2%;
    background-color: #0e6253;
    color: #fff;
}

.sidebar-menus, .sidebar-logout{
    display: flex;
    flex-direction: column;
}

.sidebar-menus a , .sidebar-logout a {
    padding: 5% 8%;
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    text-decoration: none;
    color: #fff;
}

.sidebar-menus a ion-icon , .sidebar-logout a ion-icon{
    font-size: 20px;
}

.sidebar-menus a:hover , .sidebar-logout a:hover{
    background-color: #ffc107;
    border-radius: 50px;
    color: #0e6253;
}

.main {
    width: 100%;
    height: max-content;
    min-height: 100vh;
    padding: 2%;
    background-color: #d9f2ee;
    margin-left: 250px;
}

.main-navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-toggle{
    display: none;
}

.search{
    width: 60%;
    height: 40px;
    display: flex;
    justify-content: space-around;
    background-color: #fff;
    border-radius: 20px;
}

.search input{
    width: 80%;
    height: 100%;
    padding: 20px;
    border: none;
    border-radius: 20px;
}

.search-btn{
    background-color: #ffc107;
    color: #fff;
    border: none;
    border-radius: 20px;
    width: 120px;
    cursor: pointer;
}

.search:hover {
    box-shadow: rgba(149,157,165,0.4) 0px 8px 24px;
}

.search-btn:hover {
    background-color: #0e6253;
}

.profile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart, .user{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    font-size: 20px;
    color: #0e6253;
    text-decoration: none;
    padding: 0 10px;
    height: 40px;
    border-radius: 50%;
}

.cart:hover , .user:hover {
    box-shadow: rgba(149,157,165,0.4) 0px 8px 24px;
}

.main-highlight {
    margin: 3% 0;
    padding: 2%;
    background-color: #ffc107;
    border-radius: 8px;
}

.main-header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.main-title {
    font-size: 20px;
}

.main-arrow {
    font-size: 25px;
}

.back, .next {
    cursor: pointer;
}

.back:hover , .next:hover {
    color: #0e6253;
}

.highlight-wrapper {
    width: 100%;
    display: flex;
    padding: 1%;
    border-radius: 8px;
    gap: 1.5rem;
    overflow-x: hidden;
}

.highlight-card {
    display: flex;
    flex-direction: row;
    min-width: 200px;
    width: 80%;
    height: 100%;
    gap: 1rem;
    border-radius: 8px;
    padding: 1%;
    background-color: #f5f5f5;
    cursor: pointer;
}

.highlight-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    object-position: center;
}

.highlight-desk h4 {
    color: #0e6253;
}

.highlight-desk p {
    color: #222;
    font-size: 13px;
}

.highlight-card:hover {
    background-color: #fff;
    box-shadow: rgba(176,176,176,0.4) 0px 2px 8px 0px;
}

.main-menus {
    min-height: 100%;
    background-color: #f5f5f5;
    padding: 2%;
    border-radius: 8px;
}

.main-filter {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 1.5rem;
    gap: 1rem;
}

.back-menus, .next-menus{
    cursor: pointer;
}

.back-menus:hover , .next-menus:hover {
    color: #0e6253;
}

.filter-wrapper {
    display: flex;
    justify-content: flex-start;
    overflow-x: hidden;
    width: 100%;
    height: 100px;
    gap: 1.2rem;
}

.filter-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    min-width: 80px;
    height: 100%;
    background-color: #fff;
    color: #222;
    border-radius: 8px;
    border: 1px solid #d9f2ee;
    font-size: 14px;
    cursor: pointer;
}

.filter-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    height: 60%;
    font-size: 30px;
    background-color: #d9f2ee;
    color: #0e6253;
    border-radius: 8px;
}

.filter-card:hover {
    background-color: #0e6253;
    color: #fff;
}

.filter-card:hover .filter-icon {
    background-color: #fff;
}

.divider {
    margin: 1rem 0;
    height: 1px;
    width: 100%;
    background-color: #0e6253;
    border: none;
}

.main-detail {
    margin: 1rem 0 1.5rem 0;
}

.detail-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    width: 100%;
    margin-top: 1rem;
    gap: 2%;
    border-radius: 8px;
}

.detail-card {
    min-height: 280px;
    height: 100%;
    background-color: #fff;
    border-radius: 8px;
    margin: 1% 0;
    box-shadow: rgba(176,176,176,0.4) 0px 2px 8px 0px;
    cursor: pointer;
}

.detail-img {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    object-fit: cover;
    object-position: center;
    filter:brightness(0.8);
}

.detail-desk {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 3%;
    width: 100%;
}

.detail-sub {
    font-size: 12px;
    color: #222;
    letter-spacing: 0.5;
    margin: 1% 0;
}

.price {
    color: #0e6253;
}

.detail-favourites {
    font-size: 24px;
}

.detail-card:hover {
    box-shadow: rgba(149,157,165,0.4) 0px 8px 24px;
}

.detail-card:hover .detail-img {
    filter: opacity(1);
}

.detail-card:hover .detail-name h4 {
    color: #0e6253;
}

.detail-card:hover .price {
    letter-spacing: 1.5;
}

.cart-count {
    font-size: 13px;
}

.cart-popup {
    display: none;
    position: fixed;
    height: auto;
    max-width: 300px;
    max-height: 300px;
    top: 15%;
    right: 1%;
    background-color: #fff;
    font-size: 14px;
    padding: 20px;
    border-radius: 8px;
    z-index: 100;
    box-shadow: rgba(14,98,83,0.4) 0px 30px 90px;
}

.cart-popup.active {
    display: block;
}

#cart-items {
    margin-top: 10px;
    font-size: 12px;
    border-collapse: collapse;
    width: 100%;
}

#cart-items th {
    min-width: 50px;
    background-color: #0e6253;
    color: #fff;
    padding: 5px;
}

#cart-items tr:nth-child(even) {
    background-color: #d9f2ee;
}

#cart-items td {
    min-width: 50px;
    padding: 5px;
    text-align: right;
}

.cart-popup p{
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding: 5px;
    font-weight: 600;
}

.cart-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    text-decoration: none;
    font-size: 20px;
    color: #222;
}

.add-to-cart-btn {
    width: 100%;
    margin: 10px 0 10px 5px;
    background-color: #0e6253;
    border: none;
    color: #fff;
    border-radius: 8px;
    padding: 1%;
    cursor: pointer;
}

.add-to-cart-btn:hover {
    background-color: #ffc107;
    color: #0e6253;
}