body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: black;
    font-size: large;
    font-weight: bold;
}

a :hover {
    color: #007bff;
}

.shell {
    width: 100%;
    margin: 0;
    padding: 0;
}

nav {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    background-color: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.nav-item {
    list-style: none;
    background-color: #f8f9fa;
    text-align: center;
    height: max-content;
    padding: 1rem 1rem;
    cursor: pointer;
    max-height: 50px;
}

.nav-item:hover {
    background-color: #868686;
    color: white;
    transition: ease-in-out 0.3s;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    width: 100%;
    height: fit-content;
}

.title-div {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin-top: 5rem;
    width: 100%;
    padding: auto 2rem;
    position: -webkit-sticky;
    position: sticky;
    top: 82px;
    background-color: #f8f9fa;
    z-index: 100;
}

.title-div .title {
    font-size: x-large;
    font-weight: bold;

}

.pagination {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.pagination .page {
    background-color: #f8f9fa;
    border: none;
    color: black;
    font-size: large;
    font-weight: bold;
    cursor: pointer;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
}

.pagination .active-page {
    background-color: #007bff;
    border-radius: 12px;
    color: white;
}

.pagination .page-prev,
.pagination .page-next {
    background-color: #f8f9fa;
    border: none;
    color: black;
    font-size: large;
    font-weight: bold;
    cursor: pointer;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 8rem;
}

.empty-cart {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
    font-size: xx-large;
    font-weight: bold;
    width: 100%;
    flex: 1;
    line-height: 20vh;
}

.cart-item {
    height: fit-content;
    width: 80%;
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 0.666667px solid rgba(255, 255, 255, 0.18);
    box-shadow: rgba(142, 142, 142, 0.19) 0px 6px 15px 0px;
    -webkit-box-shadow: rgba(142, 142, 142, 0.19) 0px 6px 15px 0px;
    border-radius: 12px;
    -webkit-border-radius: 12px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.cart-item input[type="checkbox"] {
    margin-top: 1rem;
    margin-right: 1rem;
    cursor: pointer;
    width: 1.5rem;
}

.cart-item img {
    width: 160px;
    height: 160px;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    box-shadow: rgba(142, 142, 142, 0.19) 0px 6px 15px 0px;
}

.cart-item .item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
    margin-left: 1rem;
}

.cart-item .info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    .desp {
        flex: 3;
    }

    .detail {
        flex: 1;
        margin: 0 1rem;
        background-color: #dddddd94;
        border-radius: 12px;
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        padding: 1rem;

        .price {
            font-size: large;
            font-weight: bold;
            display: flex;

            span {
                flex: 1;
                display: flex;
                justify-content: space-around;
                align-items: center;
            }
        }

        .quantity {
            font-size: medium;
            font-weight: bold;
            display: flex;

            span {
                flex: 1;
                display: flex;
                justify-content: space-around;
                align-items: center;
            }
        }
    }
}

.cart-item .del-btn {
    background-color: #f8f9fa;
    border: none;
    color: red;
    font-size: large;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
}

.cart-item .del-btn:hover {
    color: #007bff;
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    position: fixed;
    bottom: 20px;
    width: 100%;
}

.sum-foot {
    width: 80%;
    margin-top: 1rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.733);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 0.666667px solid rgba(255, 255, 255, 0.18);
    box-shadow: rgba(142, 142, 142, 0.19) 0px 6px 15px 0px;
    -webkit-box-shadow: rgba(142, 142, 142, 0.19) 0px 6px 15px 0px;
    border-radius: 12px;
    -webkit-border-radius: 12px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    font-size: large;
    font-weight: bold;
}

.select-all {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 1rem;
    flex-direction: row;
    justify-content: space-around;
    width: 15%;
    cursor: pointer;
}

.select-all input[type="radio"] {
    cursor: pointer;
    margin-right: 1rem;
}

.sum-up {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.sum-up .pay-btn {
    background-color: #007bff;
    color: white;
    border-radius: 12px;
    margin: 5px;
    border: none;
    padding: 0.5rem 1rem;
    font-size: large;
    font-weight: bold;
    cursor: pointer;
}

.fa-circle-minus,
.fa-circle-plus {
    cursor: pointer;
}

.alert-box {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    margin-top: 1rem;
    padding: 1rem;
    color: #721c24;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    ;
    width: 200px;
    z-index: 100;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

.search-bar {
    height: 40px;
    display: flex;
    width: 100%;
    max-width: 400px;
    padding-left: 16px;

    input {
        width: 100%;
        height: 100%;
        border: none;
        outline: none;
        background-color: var(--search-bg);
        border-radius: 4px;
        font-family: var(--body-font);
        font-size: 15px;
        font-weight: 500;

        &::placeholder {
            font-family: var(--body-font);
            color: var(--inactive-color);
            font-size: 15px;
            font-weight: 500;
        }
    }
}