.header-bar {
    background-image: url('../../assets/custom/background-5.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left top;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    height: 75px;
    z-index: 3;
    top: 0;
    left: 0;
    width: 100%;
    position: sticky;
    box-shadow: 0px 3px 5px var(--brand-grey);
    margin-bottom: 20px;

    .heading-holder {
        display: flex;
        align-items: center;
    }

    button, a {
        background-color: white;
        color: var(--brand-blue);
        font-size: 18px;
        padding: 5px;
        border-radius: 50%;
        height: 30px;
        width: 30px;
        display: flex;
        justify-content: center;
        align-items: center;

        &.active {
            color: white;
            background-color: var(--brand-blue);
        }
    }

    h3 {
        font-size: 16px;
        color: white;
        letter-spacing: 0.5px;
        margin-left: 10px;
        font-weight: 600;
    }
}

.cart-utilities-holder {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto;

	&.total-savings {
		h5 {
			color: var(--brand-blue);
		}
	}

    h5 {
        color: var(--brand-dark-grey);
        font-size: 14px;
        margin: 0;
    }

    ion-button {
        --padding-end: 0;
        --color: var(--brand-blue);
        font-size: 12px;
		letter-spacing: 0;
        margin: 0;

        span,ion-icon {
            display: inline-block;
            vertical-align: middle;
        }
    }
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.cart-item-list {
    width: 90%;
    margin: 0 auto;
    border-bottom: 1px solid #efefef;

    .cart-item {
		display: none;

		&.show {
			display: block;
		}
    }

    header {
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-weight: bold;
        color: dimgrey;
		width: 95%;
		margin: 0 auto;

		&.outlet {
			background-color: #efefef;
			color: var(--brand-grey);
			padding: 5px 10px;
			width: 100%;
		}

        ion-button {
            --padding-end: 0;
            --color: var(--brand-blue);
            font-size: 10px;
            margin: 0;
        }
    }

    .add-on-button {
        --border-width: 1px;
        --border-color: var(--brand-blue);
        --padding-top: 0;
        --padding-bottom: 0;
        font-size: 10px;
        margin: 0;
        height: 25px;
		margin-top: 0px;
		margin-bottom: 10px;
		display: none;

		&.show {
			display: inline-block;
		}
    }
}

.breakups {
    color: var(--brand-dark-grey);
    font-size: 12px;
	font-weight: 500;
	width: 95%;
	margin: 0 auto;
	padding: 7px 0;

    li {
        display: flex;
        justify-content: space-between;
        align-items: center;
		width: 100%;

		&.hidden {
			display: none;
		}
    }

	ion-button {
        --padding-end: 0;
        --color: var(--brand-blue);
		text-transform: capitalize;
        font-size: 12px;
        margin: 0;

		ion-icon {
			color: var(--brand-dark-grey);
			margin-left: 5px;
			font-size: 16px;
		}
    }

    .total {
        color: black;
    }

    .quantity-scale-holder {
        display: flex;
        align-items: center;
        border: 1px solid var(--brand-grey);
        border-radius: 10px;
        margin: 10px 0;

        button {
            font-size: 10px;
            height: 20px;
            width: 30px;
            background-color: transparent;
            &:first-child {
                border-right: 1px solid var(--brand-grey);
            }
            &:last-child {
                border-left: 1px solid var(--brand-grey);
            }
        }

        .quantity {
            padding: 0 10px;
        }
    }

    .time-holder {
        font-size: 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
		--border-width: 0;
		position: relative;
		--color: var(--brand-dark-grey);
		font-weight: 500;
		position: relative;
		right: -35px;
		height: 20px;

		a {
			margin: 0 5px;
		}

		ion-datetime {
			opacity: 0;
			width: 0;
			padding: 0;
			height: 0;
			overflow: hidden;
		}

        a {
            text-decoration: underline;
        }
    }
}

.total-price-breakup {
    width: 90%;
    margin: 0 auto;
	padding-top: 7px;

    ul {
        padding: 5px 0;
    }

    .total-price {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 12px;
        width: 100%;
        color: dimgrey;
        padding: 13px 0;
        border-top: 1px solid #efefef;
        border-bottom: 1px solid #efefef;
        font-weight: bold;
    }
}

.pay-button {
    width: 85%;
    margin: 10px auto;
    font-size: 12px;
}

.instant-menu {
	.items-holder {
	    padding: 17px;
		width: 100%;
	    overflow-x: auto;
		white-space: nowrap;

	    .item {
			overflow: hidden;
	        width: 45%;
			display: inline-block;
	        position: relative;
	        box-shadow: 0px 0px 5px rgba(#000000, 0.2);
			padding: 10px;
			border-radius: 10px;
			margin-right: 5vw;

	        &.hide {
	            display: none;
	        }

			.stats-holder {
				display: flex;
				align-items: center;
				justify-content: space-between;
				width: 100%;
				font-size: 12px;
				color: var(--brand-grey);
				font-weight: 500;
				padding-bottom: 10px;

				ion-icon {
					font-size: 14px;
					float: left;
					position: relative;
					top: 1px;
					margin-right: 3px;
				}
			}

	        .image-holder {
				position: relative;

				img {
		            border-radius: 5px;
		            height: 80px;
		            width: 100%;
		            object-fit: cover;
		        }

				.category {
					background-color: white;
		            border: 1px solid var(--brand-dark-grey);
					border-radius: 2px;
		            width: 16px;
		            height: 16px;
		            position: absolute;
					left: 3px;
					bottom: 7px;
		            display: flex;
		            align-items: center;
		            justify-content: center;

		            &::before {
		                content: '';
		                width: 8px;
		                height: 8px;
		                background-color: var(--brand-grey);
		                border-radius: 50%;
		            }

		            &.veg {
		                border-color: var(--ion-color-success);

		                &::before {
		                    background-color: var(--ion-color-success);
		                }
		            }

		            &.non-veg {
		                border-color: var(--ion-color-danger);

		                &::before {
		                    background-color: var(--ion-color-danger);
		                }
		            }
		        }
			}

	        h5 {
	            font-size: 14px;
	            color: var(--brand-dark-grey);
	            font-weight: bold;
	            letter-spacing: 0.5px;
	            margin: 10px 0;
	            white-space: nowrap;
	            text-overflow: ellipsis;
	        }
	    }

	    .price {
	        display: flex;
	        align-items: center;
	        margin-bottom: 0px;
			justify-content: space-between;

			span {
				color: var(--brand-dark-grey);
	            font-size: 14px;
				font-weight: 700;
				width: 40%;
			}

			.cart-button {
		        background-color: var(--brand-blue);
		        color: white;
		        font-size: 12px;
		        width: 30px;
				height: 30px;
		        border-radius: 50%;
		    }

			.count-buttons-holder {
			    display: flex;
			    width: 60%;
			    justify-content: space-between;
			    align-items: center;
			    background-color: #efefef;

			    ion-button {
			        margin: 0;
			        width: 30px;
			        height: 30px;
			        --padding-start: 0;
			        --padding-end: 0;
			        --padding-top: 0;
			        --padding-bottom: 0;
			        font-size: 10px;
			        --background: var(--brand-blue);
			    }

			    .count {
			        color: var(--brand-dark-grey);
			        font-size: 12px;
			    }
			}
	    }
	}
}
