* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
/*----------------------------------------------------------ALL-PRODUCT------------------------------------------------- */
#products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 60px auto;
  padding: 0 20px;
  max-width: 1200px;
}

.main-product {
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 10px;
  background-color: #f9f9f9;
  text-align: center;
  box-shadow: rgba(136, 165, 191, 0.48) 6px 2px 16px 0px,
    rgba(255, 255, 255, 0.8) -6px -2px 16px 0px;
  width: 100%;
  max-width: 350px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  &:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
}
.main-product img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}
.main-product h3 {
  margin: 10px 0;
}
.main-product p {
  margin: 5px 0;
}
.main-product button {
  background-color: #82d0d4;
  color: #2f2e2eb3;
  border: none;
  border-color: #cbebee;
  padding: 10px 25px;
  border-radius: 5px;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  &:hover {
    background-color: #cbebee;
    transform: scale(1.05);
  }
}
.filter-container {
  background-color: #f8f8f8b0; 
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 20px;
  margin-top: 5px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); 
}

#sort {
  background-color: #f8f8f8;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  width: 150px;
  height: 36px;
  margin-left: 80px;
}

.filter-section {
  border-radius: 8px;
  padding: 10px;
  max-width: 50%;
  flex: 1;
  display: flex;
  flex-direction: row;
}

.filter-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.filter-section h2 {
  font-size: 1.5rem;
  color: #333333c4;
  font-weight: 600;
  margin: 0;
  padding-top: 10px;
}

.radio-group {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  margin-left: 10px;

}

.filter-section label {
  display: flex;
  align-items: center;
  padding: 12px 20px; 
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  color: #555;
  transition: background-color 0.3s, border-color 0.3s;
  &:hover {
    background-color: #e0e0e0;
  }
}
.filter-section input[type="radio"] {
  display: none;
}

.filter-section input[type="radio"] + span::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #007bff;
  margin-right: 10px;
  vertical-align: middle;
  transition: background-color 0.3s;
}

.filter-section input[type="radio"]:checked + span::before {
  background-color: #007bff;
  border-color: #007bff;
}

.filter-section input[type="radio"]:checked + span {
  color: #007bff;
  font-weight: 600;
}
.no-products-message {
  text-align: center;
  margin: 30px auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #f4f4f4;
  max-width: 500px;
}

.no-products {
  font-size: 1rem;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.5;
  font-family: Arial, sans-serif;
}

.add-product-link {
  display: inline-block;
  padding: 10px 20px;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: bold;
  transition: background 0.2s ease;
  &:hover {
    background: #0056b3;
  }
}
#message {
  transform: translate(0, 70%);
  text-align: center;
}

/*-----------------------------------------------cart-page-------------------------------------------*/
.emptycart {
text-align: center;
padding: 40px;
}
.emptycart img {
width: 290px;
height: auto;
margin-bottom: 20px;
}
.emptycart h2 {
color: #261f44;
font-weight: 700;
line-height: 1.3;
}
.cart-detail {
color: #6F6985;
font-size: 17px;
max-width: 600px;
margin: 0 auto;
}
.view-products {
background-color: #ff5938;
color: white;
font-weight: 700;
text-decoration: none;
padding: 15px 25px;
border-radius: 5px;
transition: background-color 0.3s ease;
&:hover {
background-color: #e65b2e;
}
}
.wrap{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 20px;
}
#cartItems{
  width: 60vw;
  margin: 40px 0 0 0;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border-radius: 5px;
}
.Cart-Item {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1fr; 
  align-items: center; 
  justify-items: center;
  border-bottom: 2px solid #e0e0e0;
  padding: 20px 0;
}
.Cart-Item-1{
  display: flex;
  align-items: center;
  column-gap: 20px;
}
.Cart-Item-1 img {
  width: 100px;
  height: auto;
  border-radius: 8px;
}
.Cart-Item-1 h4{
  font-size: 20px;
  font-weight: bold;
  margin: 5px 0;
}
.Cart-Item h3 {
  font-size: 16px;
  margin: 5px 0;
}

.Cart-Item p {
  color: #555;
  margin: 5px 0;
}
.handleQuantity {
  display: flex;
  align-items: center;
  gap: 10px;
}
.handleQuantity button {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 0px 10px;
  cursor: pointer;
  font-size: 18px;
}
.handleQuantity h3 {
  margin: 0 10px;
}
.Cart-Item h2 {
  font-size: 18px;
  color: #424242;
  font-weight: bold;
}
.delete-btn {
  padding: 8px 16px;
  background-color: #f44336;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  &:hover {
    background-color: #d32f2f;
  }
}
.Cart-Header {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1fr; 
  padding: 20px 0;
  border-bottom: 2px solid #e0e0e0;
  font-weight: bold;
  background-color: #f9f9f9;
  font-size: 16px;
  text-align: center; 
}
.Cart-Header h3 {
  margin: 0;
  font-size: 16px;
  color: #333;
  padding: 0 10px;
}
.ftr{
  margin-top: 16rem;
}
.ftr-cart{
  margin-top: 14rem;
}

.Cart-Summary {
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.Cart-Summary h1 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
  padding-bottom: 20px;
  border-bottom: 1px solid #ccc;
}
.subtotal, .Cart-Summary .gst, .Cart-Summary .total {
  display: flex;
  justify-content: space-between; 
  font-size: 18px;
  margin-bottom: 15px;
  color: #555;
}
.Cart-Summary .gst {
  padding-bottom: 10px;
  border-bottom: 1px solid #ccc;
}
.Cart-Summary .total {
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
}
.Cart-Summary .value {
  margin-left: 10px; 
}
#stateSelect {
  width: 100%;
  padding: 10px;
  margin: 0 0 20px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  background-color: #fff;
}
.Cart-Summary button {
  padding: 12px 20px;
  font-size: 16px;
  background-color: #f8a888;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  &:hover {
    background-color: #fcb08cab;
  }
}
.promo-code,.promo-code1 {
  margin-bottom: 20px;
  color: #fcb08c;
  cursor: pointer;
}

.promo-text {
  margin-left: 10px;
  font-size: 18px;
}

.promo-input {
  border: 1px solid #00000029;
  color: #2f2e2e;
  padding: 8px 12px;
  margin-top: 10px;
  width: 250px;
  font-size: 16px;
}

.apply-button {
  background-color: transparent;
  color: #fcb08c;
  border: 1px solid #fcb08c;
  padding: 8px 30px;
  margin-top: 8px;
  font-size: 16px;
  cursor: pointer;
}
.fa-tag {
  color: #fcb08c;
  font-size: 20px;
}
.fa-info-circle {
  color: #fcb08c;
  font-size: 20px;
}

.promo-code1 textarea {
  border: 1px solid #00000029;
  border-radius: 4px;
  padding: 10px;
  font-size: 16px;
  margin-top: 15px;
  width: 350px;
  height: 92px;
  resize: none;
}

