:root {
  --main-bg: #f5f5f0;
  --header-bg: #206a5d;
  --text-color: #ffffff;
  --card-bg: #ffffff;
  --card-border: #206a5d;
  --btn-bg: #81b29a;
  --btn-text: #ffffff;
  --btn-hover: #f4a261;
}
/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #faf5ed;
}

/* Navbar */

a{
  text-decoration: none;
}
header{
  width: 900px;
  max-width: 100%;
  margin: auto;
  height: 50px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 100;
}
nav{
  
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav img{
  max-width: 70px;
  margin: auto;
  border-radius: 50%;
}
nav ul{
  width: 100%;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav li{
  height: 50px;
}
nav a{
  font-size: 20px;
  height: 100%;
  padding: 0 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  color: var(--btns);
  font-weight: 900 bold;
  border-bottom: 1px solid #007B6E;

}
nav a:hover{
  border-bottom: 1px solid #3c7573;
  text-shadow: 1px 1px 1px var(--tittle-shadow);


}
.sidebar{

  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 250px;
  z-index: 1210;
  background-color: var(--sidebar);
  backdrop-filter: blur(10px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
#menu{
  display: none;
}
.sidebar li , .sidebar a{
  width: 100%;

}

.cart-icon {
  font-size: 30px;
  position: relative;
  cursor: pointer;
}

.cart-icon #cart-count {
  margin-top: 10px;
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: red;
  color: white;
  padding: 2px 5px;
  border-radius: 50%;
}

/* Items Section */
.item-section {
  text-align: center;
  padding: 20px;
}
.item-section{
  margin-bottom: 10px;
}
.item-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.addtocart{

background-color:#206a5d;
border-radius: 10px;
box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
font-size: 17px;
display:run-in;
transition: 0.6s;
color: #fff;
}
.addtocart:hover{

transform: scaleX(1.02);

}
.item-card {
  background-color: #fff;
  border: 1px solid #d4af91;
  border-radius: 8px;
  width: 200px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Cart Sidebar */
.cart-sidebar {
  position: fixed;
  right: -300px;
  top: 0;
  width: 300px;
  height: 100%;
  background-color: #3c75733f;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  transition: right 0.3s;
}

.cart-sidebar.active {
  right: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #d4af91;
}

.sidebar-footer {
  padding: 10px;
  border-top: 1px solid #d4af91;
  text-align: center;
}

#cart-items {
  list-style: none;
  padding: 0;
}

#cart-items img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}
#checkout-button{
 color: #3c7573;

}
.checkout-container {
  display: flex;}
  .quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .quantity-controls button {
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
  }
  
  .quantity-controls button:hover {
    background-color: #0056b3;
  }
  

/*footer start*/
footer{
  background-color: #000;
}
#footer {
  font-size: 14px;

}

#footer a.scrollup:hover {
  color: #005f5f;
}



/*footer end*/


.checkout-container {
  display: flex;
  justify-content: space-between;
  margin: 20px;
  gap: 20px;
}

.order-summary,
.checkout-form {
  background-color: var(--form-bg);
  border: 2px solid var(--form-border);
  border-radius: 8px;
  padding: 20px;
  width: 48%;
}

.order-summary h2,
.checkout-form h2 {
  margin-top: 0;
  color: var(--header-bg);
}

.order-summary ul {
  list-style: none;
  padding: 0;
}

.order-summary li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.order-summary img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}

.checkout-form label {
  display: block;
  margin: 10px 0 5px;
  color: var(--header-bg);
}
.delivery-option {
  margin-top: 15px;
  font-size: 16px;
  display: flex;
  align-items: center;
}

.delivery-option label {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.delivery-option input[type="checkbox"] {
  margin-right: 10px;
  width: 20px;
  height: 20px;
  accent-color: #007bff; /* Customize the checkbox color */
}

.checkout-form input,
.checkout-form textarea,
.checkout-form button {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 2px solid var(--form-border);
  border-radius: 5px;
}

.checkout-form button {
  background-color: var(--btn-bg);
  color: var(--btn-text);
  cursor: pointer;
}

.checkout-form button:hover {
  background-color: var(--btn-hover);
}


/* Media Queries */
@media (max-width: 768px) {
  .item-card {
    width: 150px;
  }

  .cart-sidebar {
    width: 250px;
  }
#show{
  display: none;
}
#menu{
  display: flex;
}
.checkout-container {
  display: block;
  justify-content: space-between;
  margin: 20px;
  gap: 20px;
}
.mainbar{
  padding-left: 10rem;
}
}

