@charset "utf-8";

body, html {
    min-height: 100vh; 
    margin: 0; 
    padding: 0 0.75em;
    overflow: scroll; 
	justify-content: center;
	font-family: "Montserrat";
	overflow-x: hidden !important;
}

#slide-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000000;
  transform: translateX(100%); /* Start off-screen */
  transition: transform 0.5s ease-out;
  overflow-x: hidden; /* Prevent horizontal scroll */
	will-change: transform;
}



.cart-content {
  margin-top: 4.5em;
  margin-bottom: 10em;
  padding: 0 0.75em;
  max-width: 95%; 
}


/* Top Header */

.fixed-header {
    position: fixed;
    width: 90%;
    z-index: 999;
    background: white;
    height: 3.5em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5em;
    box-shadow: 0 0.1em 0.2em rgba(0, 0, 0, 0.1);
}


.fixed-header p{
	font-weight: 700;
	font-size: 1em;
}

.edit-icon{
	width: 1em;
	padding-top: 0.75em;
	margin-right: 1.5em;
}

/* Delivery Section */

.deliveryoption{
	width: 100%;
	display: block;
  margin-left: auto;
  margin-right: auto;
	margin-bottom: 1em;
}

.delivery-section {
    border: 1px solid #A4A4A4;
    border-radius: 10px;
    padding: 0.7em 0.2em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
	margin-bottom: 0.5em;
}

.delivery-section table {
    width: 100%;
    border-collapse: collapse;
}

.truck{
	width: 1.6em;
	margin-bottom: 0.5em;
}

.name {
    font-weight: 700;
    margin: 0;
    line-height: 1.5;
	font-size: 0.7em;
}

.user-details{
	color: #898484;
	font-size: 0.8em;
	font-weight: 400;
}

.address{
	font-size: 0.6em;
	font-weight: 500;
	margin: 0;
}

.cartdeliveryarrow {
    width: 0.5em;
    margin-left: 10px;
    align-self: center;
	margin-top: 1em;
}

/* Reserve A Time Section */

.reserve-time {
    border: 1px solid #A4A4A4;
    border-radius: 10px;
    padding: 0.5em 1em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
}

.time{
	width: 1.5em;
	margin-left: -0.8em;
}

.reserve-a-time {
    font-weight: 700;
    margin: 0;
    font-size: 0.7em;
    margin-left: 0.6em;
}

.date {
    font-weight: 700;
    margin: 0 0.5em;
    font-size: 0.7em;
	margin-left: 6.5em;
	
}

.selecttime {
    font-weight: 700;
    margin: 0;
    font-size: 0.7em;
}

.timearrow {
    width: 0.5em;
	align-self: center;
	margin-bottom: 0.1em;
}


/* My Items List in Cart page */

hr{
	color: #A4A4A4;
}

.items-section {
  margin-top: 1em;
  padding: 0.5em 1em;
  border-radius: 0.5em;
  background-color: #E9E9E9;
  align-content: center;
}

.section-title {
  font-size: 1em;
  font-weight: 700;
}

.item-box {
  margin-bottom: 1em;
}

.item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6em 0;
  border-bottom: 0.1em solid #eee;
}

.item:last-child {
  border-bottom: none;
}

.item-image {
  width: 15%;
  max-width: 5em;
  margin-right: 1em;
}

.item-details {
  flex: 1;
}

.item-title {
  font-size: 0.6em;
  font-weight: 500;
  margin-bottom: 0.5em;
}

.item-price {
  font-size: 0.7em;
	font-weight: 700;
}

.slash-price {
  font-size: 0.8em;
  text-decoration: line-through;
  color: #A4A4A4;
  margin-left: 0.5em;
	font-weight: 500;
}

.item-quantity {
  display: flex;
  align-items: center;
	margin-bottom: -1.5em;
}

.quantity-btn {
  font-size: 0.8em;
  padding: 0.3em 0.5em;
  border: 0.1em solid #ccc;
  background-color: #fff;
  cursor: pointer;
  border-radius: 0.3em;
}

.quantity {
  margin: 0 0.5em;
  font-size: 1em;
}

.add-more {
  font-size: 0.6em;
  margin-top: 1em;
	font-weight: 700;
}

.back-to-shopping {
  color: #00c8b3;
  font-weight: 700;
  cursor: pointer;
	text-decoration: underline;
}


/* Order Summary Section */

.linesummary1{
	border: none;
	height: 8px;
	background-color: #E9E9E9;
	margin-top: 1em;
	width: 100%;
}

.linesummary2{
	border: none;
	height: 8px;
	background-color: #E9E9E9;
	width: 100%;
}


.betweensummaryline{
	background-color: #E9E9E9;
	width: 100%;
	margin-top: 0.5em;
}
.order-summary {
  width: 100%;
  margin-bottom: 10px;
}

.os-title{
	font-size: 1em;
    font-weight: 700;
}

.os-info{
	font-size: 0.7em;
    font-weight: 600;
}

.os-right{
	font-size: 1em;
    font-weight: 600;
	float: right;
}

.os-left{
	font-size: 0.7em;
    font-weight: 400;
	color: #898484;
}

.total{
	font-weight: 700;
}

.cartpoints {
  width: 100%;
  display: flex;
    align-items: flex-start; /* Align the icon with the top of the text */
    font-size: 0.875em;
    gap: 0.75em; /* Spacing between the icon and the text */
}

.points-text{
	margin-top: 0.3em;	
	margin-left: -1.4em;
}

.cart-pointscard {
  width: 60px;
  height: auto;
  margin-right: 15px;
}

.cart-receive {
  font-size: 0.7em;
  margin: 0;
	font-weight: 600;
}

.cart-member {
  color: #A4A4A4;
  font-size: 0.7em;
}

.paymentmethodtitle{
	font-size: 1em;
    font-weight: 700;
}

.paymentbox{
	border: 1px solid #A4A4A4;
    border-radius: 10px;
    padding: 0.2em 0.5em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
}

.paymentchoices{
	font-size: 1em;
    font-weight: 700;
}

.paymentarrow{
	width: 0.5em;
	border: none;
	background-color: none;
}

.ordernotes{
	border: 1px solid #A4A4A4;
    border-radius: 10px;
    padding: 0.5em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
	margin-top: 1em;
	margin-bottom: 18em;

}

.ordernotes p{
	font-size: 1em;
    font-weight: 700;
	padding-bottom: 6em;
	margin-top: 0;
}

/* CART ONLY NAVIGATION BAR */

/* Bottom Navbar */
.cartnavbar {
  position: fixed;
  bottom: 4.7em; /* To ensure it doesn’t overlap the main navbar */
  background-color: #FFFFFF;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
	width: 95%;
	left: 50%; /* Start positioning from the center */
  transform: translateX(-50%); /* Center horizontally */
  max-width: 30em; /* Limit the width on larger screens */
}

/* Select Vouchers Section */
.selectvouchers {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cartcoupon{
	width: 1.5em;
	padding-right: 0.5em;
}

.graycartarrow {
  width: 0.7em;
  height: auto;
	padding-left: 0.6em;
}

.vouchers-text {
  flex: 1;
  margin: 0 0.8;
  font-size: 0.8em;
	font-weight: 700;
}

.select-text {
    font-size: 0.8em;
	font-weight: 600;
	color: #898484;
}

/* Use Points Section */
.usepoints {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cartcoins {
  width: 1.5em;
  height: auto;
}

.points-text {
  flex: 1;
  margin: 0 10px;
  font-size: 0.8em;
	font-weight: 700;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 20px;
	margin-right: 1em;
}

.toggle-switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 20px;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #00C3B1;
}

input:checked + .slider:before {
  transform: translateX(14px);
}

/* Place Order Section */
.placeorderinfo {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.placeorderinfotext {
  flex: 1;
}

.total-text, .price-text, .saved-text {
  margin: 0;
}

.total-text {
  font-size: 0.7em;
  font-weight: 600;
  color: #898484;
}

.price-text {
  font-size: 1em;
  font-weight: 700;
}

.saved-text {
  font-size: 0.7em;
  font-weight: 600;
}

.btnplaceorder {
  background-color: #00C3B1;
  border: none;
  color: #fff;
  padding: 0.3em 1em;
  font-size: 1.2em;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btnplaceorder:hover {
  background-color: #A4A4A4;
}

.btnplaceorder:active{
  background-color: #14DDCA;
}

/* Navigation Bar */
.mainnavbar {
    position: fixed; /* Fixed at the bottom */
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #FFFFFF; /* White background */
    display: flex; /* Flexbox for even spacing */
    justify-content: space-around; /* Space between icons */
    align-items: center; /* Center icons vertically */
    padding: 0.5em 0;
    box-shadow: 0 -0.125em 0.25em rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    z-index: 999; /* Ensure it's on top */
}

/* Navigation Item */
.nav-item {
    display: flex;
    flex-direction: column; /* Stack icon and label vertically */
    align-items: center; /* Center align icon and label */
    cursor: pointer; /* Make clickable */
}

/* Navigation Icon */
.nav-icon {
    width: 4em; /* Adjust size of icons */
}


/* Popup Overlay */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* Popup Container */
.popup {
  background-color: white;
  border-radius: 1em;
  padding: 2em;
  width: 60%; /* Adjust for responsiveness */
  max-width: 25em; /* Limit the maximum size */
  box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.2);
  text-align: center;
  font-family: "Montserrat", sans-serif;

}

/* Popup Text */
.confirmorder {
  font-size: 1.2em;
  font-weight: 700;
  margin-bottom: 1.5em;
	color: #00C3B1;
}

/* Popup Buttons */
.popup-buttons {
  display: flex;
  gap: 1em;
  justify-content: center;
}

.btn-yes,
.btn-no {
  font-size: 1em;
  font-weight: 600;
  padding: 0.8em 2em;
  border: none;
  border-radius: 0.5em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-yes {
  background-color: #00C3B1;
  color: white;
}

.btn-no {
  background-color: #E9E9E9;
  color: black;
}

.btn-yes:hover {
  background-color: #A4A4A4;
}

.btn-no:hover {
  background-color: #A4A4A4;
}

.btn-yes:active {
  background-color: #14DDCA;
}

.btn-no:active {
  background-color: #00C3B1;
}


.anim-afterplaceorder {
  display: none;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: white;
  z-index: 9999;
}

.anim-afterplaceorder img {
  max-width: 100%;
  height: auto;
}
