main {
    padding-left: 12px;
    padding-right: 12px;
}

#fresh-logo {
    display: inline-block;
}

.navbar-brand {
    justify-content: center;
}

#navbar-links {
    margin: 0 auto;
    user-select: none;
}

#navbar-links a {
    font-size: 14px;
    color: green;
    text-align: center;
    padding-left: 12px;
    padding-right: 12px;
    user-select: none;
}

#shopping_cart_icon {
    margin-left: 6px;
}

#shopping_cart_icon i,
#notification_bell i {
    font-size: 26px;
}

#navbarDropdownMenuAvatar {
    margin-left: 6px;
}

#navbarDropdownMenuAvatar img {
    width: 36px !important;
    height: 36px !important;
}

#fresh_catalogue {
    margin: auto;
    max-width: 600px;
}

button {
    user-select: none;
}

.go_back_btn {
    display: block;
    margin-top: 24px;
}

#fresh_buttons {
    display: flex;
    justify-content: center;
    margin-top: 36px;
    margin-bottom: 20px;
    gap: 12px;
}

#fresh_buttons button,
main button {
    padding-left: 12px;
    padding-right: 12px;
    height: 36px;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    background-color: white;
    border: solid 2px green;
    color: green;
    cursor: pointer;
    transition: all 0.2s;
}

#fresh_buttons button.active {
    background-color: rgba(0, 128, 0, 0.1);
}

.uuid_order {
    font-size: 12px;
    color: silver;
}

h3 {
    font-size: 1.2rem;
    margin-top: 12px;
    margin-bottom: 12px;
    color: green;
    text-align: center;
}

.vex h3 {
    margin-bottom: 20px;
    color: green !important;
}

h4 {
    font-size: 1.2rem;
    margin-top: 12px;
    color: green;
}

.fresh_products_container {
    padding: 8px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Adjust the number of columns as needed */
}

.fresh_products_container img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

#overlay_action_price_total:before {
    content: "Total: ";
}

.thumb {
    background-color: white;
    float: left;
    width: 36px;
    height: 36px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    margin-right: 12px;
    transition: all 1s;
}

.plus,
.minus,
.qty {
    display: block;
    float: left;
    width: 24px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 60%;
}

.plus {
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
    background-color: white;
    background-image: url(../layout_img/plus.svg);
    cursor: pointer;
}

.name {
    overflow: hidden;
    white-space: nowrap;
    width: calc(100% - 136px);
    font-size: 13px;
    margin-left: 12px;
    line-height: 24px;
    float: left;
}

.price {
    width: 100px;
    font-size: 12px;
    margin-top: 6px;
    display: block;
    float: left;
    display: none;
}

.total {
    width: 160px;
    font-size: 12px;
    margin-top: 6px;
    display: block;
    float: right;
}

.price:before {
    content: "ZMK ";
}

.total:before {
    content: "Total: ZMK ";
}

.cc_list {
    padding: 0;
    margin: 0;
}

.qty {
    text-align: center;
    line-height: 24px;
    font-size: 12px;
    background-color: rgba(255, 255, 255, 0.4);
}

.minus {
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
    background-color: white;
    background-image: url(../layout_img/minus.svg);
    cursor: pointer;
}

#empty_cart_notice {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    margin-top: 48px;
    user-select: none;
    color: black;
}

#empty_cart_notice svg {
    line-height: 0;
    float: left;
    display: block;
    width: 24px;
    height: 24px;
    margin-top: -2px;
    margin-right: 12px;
}

#shopping_cart_bar {
    position: fixed;
    overflow: auto;
    right: 0;
    top: 0;
    width: 400px;
    padding: 12px;
    height: 100dvh;
    z-index: 1000;
    background-color: #4caf503b;
    backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(20px);
    display: none;
    animation-duration: 0.4s;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -1px rgb(0 0 0 / 6%);
}

@media (min-width: 768px) {
    .fresh_products_container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.fresh_products_container ul {
    list-style-type: none;
    padding: 8px;
    font-size: 12px;
}

.fresh_products_container li:first-child::after {
    content: "+ Add to cart";
    display: block;
    text-align: center;
    margin-top: 8px;
    padding: 3px;
    background-color: #81be3b;
    color: white;
    border-radius: 8px;
}

.fresh_products_container ul li:nth-child(2) {
    font-weight: bold;
    color: green;
}

.fresh_products_container ul li:nth-child(4)::before {
    content: "Price: K";
}

.fresh_products_container ul li {
    margin: 0px;
    margin-bottom: 4px;
}

@media only screen and (max-width: 600px) {
    #shopping_cart_bar {
        width: 100%;
    }
}

#shopping_cart_bar_bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
}

#shopping_cart_bar_items {
    display: block;
    margin-top: 48px;
    padding-right: 12px;
    padding-left: 12px;
    color: black;
    max-height: calc(100vh - 200px);
    overflow: auto;
}

#shopping_cart_bar_items li {
    margin-bottom: 1px;
    height: 65px;
    background-color: rgba(255, 255, 255, 0.3);
    padding: 12px;
    clear: both;
    user-select: none;
    overflow: hidden;
    transition: all 0.2s;
}

#shopping_cart_bar_items li:hover {
    transition: all 0.2s;
    transform: scale(1.02);
}

#shopping_cart_bar_items li:first-child {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

#shopping_cart_bar_items li:last-child {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

#shopping_cart_bar_total_amount {
    display: none;
}

#shopping_cart_bar_total_quantity_count {
    display: inline;
    margin-right: 24px;
}

#shopping_cart_bar_total_quantity_count:before {
    content: "x";
    margin-right: 2px;
}

#shopping_cart_clear_all_btn {
    font-size: 16px;
    font-weight: bold;
    display: inline-flex;
    vertical-align: middle;
    justify-content: center;
    align-items: center;
    height: 32px;
    padding-left: 12px;
    padding-right: 12px;
    cursor: pointer;
    user-select: none;
    margin-left: 12px;
    border-radius: 6px;
    color: white;
    margin-top: 12px;
    margin-bottom: 24px;
    transition: all 0.2s;
}

#shopping_cart_clear_all_btn:hover {
    transform: scale(1.1);
    transition: all 0.2s;
}

#shopping_cart_clear_all_btn svg {
    display: inline-block;
    width: 24px;
}

#shopping_cart_bar_proceed_btn {
    color: white;
    background-color: #81be3b;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    margin-left: 12px;
    margin-right: 12px;
    line-height: 48px;
    justify-content: center;
    align-content: center;
    align-items: center;
    background-image: url(../img/chevron-right-white.svg);
    background-repeat: no-repeat;
    background-position: center right 12px;
    background-size: 36px;
    transition: all 0.2s;
    user-select: none;
    text-align: center;
}

#shopping_cart_bar_proceed_btn:hover {
    filter: brightness(1.1);
}

#shopping_cart_bar_close_btn {
    display: block;
    float: right;
    width: 48px;
    height: 48px;
    background-image: url(../layout_img/close.svg);
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.vex .close-btn {
    margin-left: auto;
    display: block;
    margin-top: -12px;
    margin-right: -14px;
    width: 48px;
    height: 48px;
    background-image: url(../img/close.svg);
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    border: none !important;
    background-color: #ffffff00 !important;
    outline: none;
}

@keyframes zoomFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.zoom-fade-in {
    animation: zoomFadeIn 0.3s ease-in-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.zoom-in {
    animation: zoomIn 0.3s ease-in-out;
}

.item-added-notice {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    bottom: 0;
    right: 0;
    gap: 12px;
    border: solid 2px #81be3b;
    margin-right: 12px;
    margin-bottom: 12px;
    border-radius: 8px;
    padding-left: 12px;
    padding-right: 12px;
    background-color: white;
    animation: zoomIn 0.3s ease-in-out;
    transition: all 1s;
    user-select: none;
}

.item-added-notice img {
    display: block;
    width: 24px;
    height: 24px;
    filter: invert(1);
}

.item-added-notice button {
    border: 0;
    float: right;
    font-family: inherit;
    font-size: .8em;
    padding: 8px;
    border-radius: 25px;
    margin-top: 12px;
    margin-bottom: 8px;
    background-color: #81be3b;
    color: white;
}

.button_options_list {
    max-width: 300px;
    display: flex;
    flex-direction: column;
    margin: auto;
    gap: 18px;
}

.delivery-days-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: auto;
}

#order_confirmation {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

section {
    padding-left: 12px;
    padding-right: 12px;
}

#address_form {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: auto;
}

section form input {
    padding: 12px;
    border: solid 2px green;
    border-radius: 8px;
    font-size: 12px;
}

.button_options_list button,
section button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding-left: 6px;
    padding-right: 6px;
    max-width: 140px;
    margin-left: auto;
    margin-right: auto;
    line-height: 110%;
    height: 36px;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    background-color: white;
    border: solid 2px green;
    color: green;
    cursor: pointer;
    transition: all 0.2s;
}

#checkout_duration_container {
    display: flex;
    flex-wrap: wrap;
    max-width: 300px;
    flex-direction: row;
}

#checkout_duration_container button {
    width: 120px;
    height: 60px;
    flex-direction: column;
}

#checkout_duration_container button div {
    display: block;
    font-size: 90%;
    font-weight: bold;
}

.checkout_section {
    max-width: 600px;
    margin-top: 8vh;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
    padding-top: 24px;
    padding-bottom: 24px;
}

.payicon {
    display: block;
    width: 24px;
    height: 24px;
    margin-right: auto;
}

.payicon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.checkout_section_description {
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: green;
    text-align: center;
}

.checkout_section form button {
    margin-left: auto;
    margin-right: auto;
    margin-top: 12px;
}

.paybutton {
    max-width: 100px;
    min-width: 100px;
    margin-left: auto;
    margin-right: auto;
}

.paybutton svg path {
    fill: #008001;
}

.checkout_section h1 {
    font-size: 1.4rem;
    margin-bottom: 24px;
    color: green;
    text-align: center;
}

#my-deliveries {
    padding-bottom: 48px;
}

#my-deliveries h3 {
    margin-top: 0px;
    text-align: left;
}

#my-deliveries p {
    margin-bottom: 12px;
}

.order {
    max-width: 600px;
    margin-top: 48px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
    padding: 24px;
}

.order-item {
    font-size: 90%;
}

.item-name {
    font-weight: bold;
    color: green;
}

.item-details {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.order-item img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.capitalize {
    text-transform: capitalize;
}

.uppercase {
    text-transform: uppercase;
}

#forgot-password {
    font-size: 14px;
    color: green;
    font-weight: bold;
    user-select: none;
}

.button-group {
    margin-bottom: 24px;
    text-align: right;
}

.button-group button {
    margin-left: 8px;
}

#account-avatar-large {
    display: block;
    width: 120px;
    border-radius: 8px;
    object-fit: cover;
    object-position: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 36px;
}

.swal2-title {
    color: #78b440;
    font-size: 24px;
}

.swal2-styled {
    border-radius: 8px;
    background-color: #78b440;
}

@media only screen and (max-width: 992px) {
    #freshbox-nav {
        position: fixed;
        top: 5px;
        right: 6px;
        z-index: 1;
    }

    #freshbox-logo {
        margin-bottom: 12px;
    }
}