body {
    margin: 0;
    font-size: 1em;
    background-image: url('/img/kif_bg.jpg');
    background-repeat: repeat-y;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    user-select: none;
}

    body::after {
        content: "";
        background-image: url('/img/kif_bg.jpg');
        background-repeat: repeat;
        opacity: 0.5;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        position: absolute;
        z-index: -1;
    }

.categories-navbar {
    position: sticky;
    top: 0;
    margin-top: 5px;
    margin-left: 5px;
    padding-top: 5px;
    display: flex;
    overflow-x: scroll;
    background-color: rgba(242, 242, 242, 0.838);
    height: 30px;
    border-radius: 5px;
}

    .categories-navbar::-webkit-scrollbar {
        display: none;
    }

    .categories-navbar a {
        border-radius: 5px;
        text-decoration: none;
        color: black;
        margin-right: 15px;
        min-width: 150px;
        padding: 2px;
        flex-grow: 1;
        border: 1px solid #000;
        background-color: #FFF;
        height: 20px;
        justify-content: center;
        text-align: center;
    }
.button-back {
    border-radius: 5px;
    text-decoration: none;
    color: black;
    margin-top: 15px;
    margin-left: 15px;
    min-width: 150px;
    padding: 2px;
    flex-grow: 1;
    border: 1px solid #000;
    background-color: #FFF;
    height: 20px;
    justify-content: center;
    text-align: center;
}
.products-category {
    display: block;
    margin-top: 10px;
    margin-left: 5px;
    font-size: 1.3em;
    font-weight: bold;
    scroll-margin-top: 30px;
}

.products-row {
    display: flex;
}

.product-container {
    width: 60%;
    background-color: rgba(242, 242, 242, 0.838);
    margin: 5px;
    padding: 5px;
    text-align: center;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content:end;
}
   
    .product-container img {
        max-width: 100%;
        margin-bottom: auto;
        border-radius: 15px;
        flex: 1;
        height: 120px;
        max-height:120px;
        flex: 1;
        object-fit: cover;
    }

    .product-container .description {
        margin-bottom:auto;
        flex: 2;
    }

        .product-container .description span {
            margin-bottom: auto;
            display: block;
            text-align: center;
        }

        .product-container .description .product-price {
            margin-bottom: auto;
            font-weight: bold;
            font-size: 1.1em;
        }

        .product-container .description .product-name {
            font-size: 1em;
        }

        .product-container .description .product-weight {
            font-size: 0.9em;
        }

.product-counter-wrapper {
    margin-left: 2px;
    margin-right: 2px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: end;
    background: #FFF;
    border-radius: 12px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

    .product-counter-wrapper span {
        width: 100%;
        text-align: center;
        cursor: pointer;
        user-select: none;
    }

        .product-counter-wrapper span.product-counter-num {
            border-right: 2px solid rgba(0, 0, 0, 0.2);
            border-left: 2px solid rgba(0, 0, 0, 0.2);
            pointer-events: none;
        }

.cart-container {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 10px 20px #1687d933;
    display: flex;
    flex-direction: column;
}

.cart-header {
    margin: auto;
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
}

.cart-heading {
    font-size: 1em;
    font-weight: 700;
    color: #2F3841;
}

.cart-action {
    font-size: 0.9em;
    font-weight: 600;
    color: #E44C4C;
    cursor: pointer;
    border-bottom: 1px solid #E44C4C;
    margin-left: auto;
}

.cart-item {
    margin-left: 5px;
    margin-right: 5px;
    height: 20%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-top-width: 1px;
    border-top-style: solid;
    padding-top: 5px;
}

.cart-item-image img {
    height: 120px;
    max-width:100px;
    width:100px;
    object-fit:contain;
    border-radius: 15px;
}

.cart-item-name {
    /*margin-right: auto;*/
    padding-left: 2px;
}

.cart-item-cost {
    font-weight: 100;
    font-size: 0.9em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
 
}

    .cart-item-cost span {
        margin-bottom: 5px;
    }

.cart-item-sum {
    margin-top: 2px;
    font-size: 0.8em;
    font-weight: 500;
}

.cart-footer {
    padding-top: 15px;
    padding-bottom: 5px;
    display: flex;
    font-size: 1.2em;
    font-weight: 400;
    flex-direction: row;
    margin-left: auto;
}

.cart-total-volume {
    margin-left: 5px;
}

.cart-total-currency {
    margin-right: 5px;
    display: inline;
}

.checkout-form {
    margin: 5px;
    display: flex;
    flex-direction: column;
}

.checkout-form-label {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    margin-left: 2rem;
    margin-top: 0.7rem;
    display: block;
    transition: all 0.3s;
    transform: translateY(0rem);
}

.checkout-form-group {
    margin-top: 5px;
    margin-right: 5px;
}

.checkout-form-input {
    font-family: 'Roboto', sans-serif;
    color: #333;
    font-size: 1.2rem;
    padding: 1.5rem 2rem;
    border-radius: 0.2rem;
    background-color: rgb(255, 255, 255);
    border: none;
    width: 100%;
    display: block;
    border-bottom: 0.3rem solid transparent;
    transition: all 0.3s;
}

    .checkout-form-input:placeholder-shown + .checkout-form-label {
        opacity: 0;
        visibility: hidden;
        -webkit-transform: translateY(-4rem);
        transform: translateY(-4rem);
    }
