* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
  }
  
  body {
    background: linear-gradient(to bottom right, #fff, #fef6f0);
    color: #333;
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
    align-items: center;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  }
  
  .logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: #ee8122;
  }
  
  .navbar nav a {
    margin: 0 1rem;
    text-decoration: none;
    color: #555;
    font-weight: 500;
  }
  
  .signup-btn {
    background: #ee8122;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
  }
  
  .hero {
    display: flex;
    align-items: center;
    padding: 3rem 2rem;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #ffffff, #fff5eb);
  }
  
  .hero-content {
    flex: 1 1 400px;
  }
  
  .hero-content h1 {
    font-size: 3rem;
    color: #333;
  }
  
  .hero-content h1 span {
    color: #ee8122;
  }
  
  .hero-content p {
    margin: 1rem 0;
    font-size: 1.1rem;
    color: #666;
  }
  
  .hero-buttons {
    margin-top: 1rem;
  }
  
    .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    margin-right: 1rem;
    font-weight: 600;
    transition: 0.3s ease;
  }
  

  .hero-img {
    flex: 1 1 400px;
    text-align: center;
  }
  
  .hero-img img {
    width: 90%;
    max-width: 400px;
  }
  
  footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    color: #777;
    background-color: #f3f3f3;
  }

  .products-section {
    padding: 3rem 2rem;
    background: linear-gradient(to right, #fff, #fef6f0);
    text-align: center;
  }
  
  .products-section h2 {
    color: #ee8122;
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }
  
  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
  }
  
  .product-card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s ease;
  }
  
  .product-card:hover {
    transform: scale(1.03);
  }
  
  .product-card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1rem;
  }
  
  .product-card h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .product-card p {
    font-size: 1rem;
    color: #777;
    margin-bottom: 1rem;
  }
  
  .upcoming-fruits {
  background: #fff7ed;
  padding: 40px 20px;
}

.fruit-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.fruit-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 16px;
  width: 220px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.fruit-card:hover {
  transform: translateY(-5px);
}

.fruit-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.product-wrapper {
  display: flex;
  gap: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin: 30px auto;
  padding: 20px;
  max-width: 1000px;
  align-items: flex-start;
}

.product-image img {
  width: 300px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.product-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-left: auto;
}

.product-details h2 {
  margin-top: 0;
  font-size: 30px;
  font-weight: 600;
  color: #f56c3c;
  
}

.product-details h3 {
  margin-top: 0;
  font-size: 30px;
  font-weight: 600;
  color: #f56c3c;
}

.card-buttons {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.btn {
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
}

.btn.primary {
 background: #ee8122;
    color: #fff;
}

.btn.secondary {
   background: transparent;
    border: 2px solid #ee8122;
    color: #ee8122;
}

.btn:hover {
  opacity: 0.8;
}

.product-details2 {
  flex: 5;
  display: flex;
  flex-direction: column;
  margin-left: auto;
}

.product-details2 h2 {
  margin-top: 0;
  font-size: 50px;
  font-weight: 600;
  color: #ef4f15;
  margin-left: left;
  
}

.product-details2 h3 {
  margin-top: 0;
  font-size: 30px;
  font-weight: 600;
  color: #f56c3c;
}


ul {
  padding-left: 20px;
  margin-top: 5px;
}

ul li {
  font-size: 15px;
  margin-bottom: 4px;
}

select#outlet {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
  margin-top: 6px;
  width: 100%;
  max-width: 300px;
}


.modal {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background: white;
  padding: 20px;
  max-width: 400px;
  margin: 15% auto;
  border-radius: 10px;
  text-align: center;
}

/*cart.php*/



/*buyfruit.php*/

  
      
    
    h1, h2 {
      text-align: center;
      margin-bottom: 20px;
      font-weight: 800;
    }
    
    .cart-container {
      width: 90%;
      max-width: 1000px;
      margin: 0 auto;
      margin-top: 30px;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .cart-header {
      font-size: 26px;
      font-weight: 700;
      text-align: center;
      margin-bottom: 10px;
    }

    .cart-item {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      background-color: #f4f4f4;
      padding: 15px;
      border-radius: 10px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }

    .cart-item img {
      width: 80px;
      height: 80px;
      object-fit: cover;
      border-radius: 8px;
    }

    .item-name {
      flex: 2;
      padding-left: 15px;
      font-size: 18px;
      font-weight: 600;
    }

    .pickup-location {
      flex: 1.5;
      font-size: 14px;
      color: #555;
    }

    .quantity-control {
      flex: 1;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .quantity-control button {
      padding: 5px 10px;
      font-size: 16px;
      background-color: #ffa500;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }

    .quantity-control span {
      font-weight: bold;
    }

    .subtotal {
      flex: 1;
      text-align: right;
      font-size: 16px;
      font-weight: 600;
    }

    .delete-icon {
      font-size: 18px;
      cursor: pointer;
      margin-left: 10px;
    }

    .subtotal-container {
      text-align: center;
      font-size: 20px;
      font-weight: 600;
    }

.form-container {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  width: 100%;
  box-sizing: border-box;
}

/* Input fields */
.form-container input[type="text"],
.form-container input[type="email"] {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
  box-sizing: border-box;
}

/* Labels */
.form-container label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

/* Media Query for tablets and phones */
@media (max-width: 768px) {
  .form-container {
    padding: 20px;
    border-radius: 10px;
    margin: 0 10px; /* Adds space on small screens */
  }

  .form-container input[type="text"],
  .form-container input[type="email"] {
    font-size: 15px;
    padding: 8px;
  }
}

    .btn.primary {
      background-color: #ffa500;
      color: white;
      border: none;
      padding: 12px;
      font-size: 16px;
      border-radius: 8px;
      cursor: pointer;
    }

    footer {
      text-align: center;
      margin-top: 50px;
      padding: 20px;
      background-color: #eee;
      font-size: 14px;
    }

    @media screen and (max-width: 768px) {
      .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
      }

      .quantity-control,
      .subtotal,
      .pickup-location {
        text-align: left;
        width: 100%;
      }

      .subtotal-container {
        font-size: 18px;
      }
      
    }


    /* sign up.php*/

        body {
        font-family: Arial, sans-serif;
        background-color: rgb(251, 227, 192);
        margin: 0;
        padding: 0;
    }

    .container {
        width: 100%;
        max-width: 400px;
        margin: 60px auto;
        background-color: white;
        border-radius: 12px;
        padding: 30px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    h2 {
        text-align: center;
        color: #2f3640;
    }

    label {
        display: block;
        margin-top: 15px;
        color: #2d3436;
    }

    input[type="text"],
    input[type="email"] {
        width: 100%;
        padding: 10px;
        margin-top: 5px;
        border-radius: 6px;
        border: 1px solid #ccc;
        box-sizing: border-box;
    }

    input[type="submit"] {
        width: 100%;
        padding: 12px;
        margin-top: 20px;
        background-color: rgb(240, 157, 24);
        color: white;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        font-weight: bold;
    }

    input[type="submit"]:hover {
        background-color: #0097e6;
    }

    .message {
        text-align: center;
        margin-bottom: 15px;
    }

    .message.success {
        color: green;
    }

    .message.error ul {
        color: red;
        padding-left: 20px;
    }

@media (max-width: 768px) {
  .fruit-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .fruit-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
  }

  .fruit-details, .options, .action-area {
    width: 100%;
    text-align: left;
  }

  .options label {
    margin-top: 8px;
  }

  .action-area {
    text-align: right;
    margin-top: 10px;
  }
}

    /*cart.php*/

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: 'Poppins', sans-serif;
    }

    body {
      background: linear-gradient(to bottom right, #fff, #fef6f0);
      color: #333;
    }

    .navbar {
      display: flex;
      justify-content: space-between;
      padding: 1rem 2rem;
      align-items: center;
      background-color: #ffffff;
      box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }

    .logo {
      font-weight: 800;
      font-size: 1.5rem;
      color: #ee8122;
    }

    .navbar nav a {
      margin: 0 1rem;
      text-decoration: none;
      color: #555;
      font-weight: 500;
    }

    h2 {
      text-align: center;
      margin: 30px 0 10px;
      font-size: 28px;
    }

    .centered-button {
      text-align: center;
      margin-bottom: 20px;
    }

    .btn {
      padding: 10px 20px;
      background-color: #ffa500;
      color: white;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      font-size: 14px;
      transition: background 0.3s;
    }

    .btn:hover {
      background-color: #e69500;
    }

    #cartContainer {
      max-width: 1000px;
      margin: auto;
      padding: 20px;
    }

    .fruit-card {
      background: white;
      display: flex;
      align-items: center;
      gap: 20px;
      padding: 15px;
      border-radius: 10px;
      margin-bottom: 15px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.05);
      flex-wrap: wrap;
    }

    .fruit-img {
      width: 120px;
      height: 120px;
      object-fit: cover;
      border-radius: 10px;
    }

    .fruit-details {
      flex: 2;
      min-width: 200px;
    }

    .fruit-details h4 {
      margin-bottom: 3px;
      font-size: 18px;
    }

    .fruit-details small {
      font-size: 13px;
      color: #888;
    }

    .options {
      display: flex;
      flex-direction: column;
      gap: 6px;
      flex: 2;
    }

    .options label {
      font-size: 14px;
    }

    .options select,
    .options input {
      padding: 6px 10px;
      border: 1px solid #ccc;
      border-radius: 5px;
      font-size: 14px;
      width: 100%;
    }

    .action-area {
      flex: 1;
      text-align: right;
      min-width: 100px;
    }

    .remove-btn {
      background-color: #ff4d4f;
      padding: 8px 14px;
      border: none;
      color: white;
      border-radius: 6px;
      font-size: 13px;
      cursor: pointer;
    }

    .remove-btn:hover {
      background-color: #d9363e;
    }

    footer {
      text-align: center;
      padding: 20px;
      background: #f1f1f1;
      color: #777;
      font-size: 14px;
      margin-top: 40px;
    }

    @media (max-width: 600px) {
      .fruit-card {
        flex-direction: column;
        text-align: center;
      }
    }


    
