header {
    background-color: #1C223E;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    color: #FFFFFF;
}

.logo {
    font-family: Arial;
    font-size: 30px;
    color: #FFFFFF;
    text-decoration: none;

}

.logo:hover {
    color: #F3F7FF;
}

.cart {
    text-decoration: none;
    color: #000000;
    font-size: 30px;
    font-family: Arial;
    float: right;
    background-color: #F1F3F7;
    padding: 5px;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 5px;
    
}

    .shop-container {
      max-width: 1000px;
      margin: 20px auto;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .shop-item {
      background-color: white;
      border-radius: 15px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      display: flex;
      padding: 15px;
      align-items: center;
      gap: 15px;
      transition: transform 0.2s ease;
      height: 200px;
      width: 400px;
    }

    .shop-item img {
      width: 144px;
      height: 144px;
      object-fit:scale-down;
      border-radius: 3px;
      flex-shrink: 0;
    }

    .shop-info {
      display: flex;
      flex-direction: column;
      height: 200px;
      flex-grow: 1;
      font-family: Arial;
    }

    .shop-info h3 {
      margin: 0 0 8px 0;
      font-size: 31px;
      color: #000000;
      text-align: center;
    }

    .shop-info p {
      margin: 5px 0 12px 0;
      font-weight: bold;
      font-size: 18px;
      color: #000000;
      text-align: center;
    }

    .quantity-container {
      display: flex;
      align-items: center;
      gap: 8px;
      align-self: center;
    }
    .quantity-container label {
      font-weight: 600;
      font-size: 18px;
      color: #000000;
      margin: 5px 0 0 0;
    }
    .quantity-container input[type="number"] {
      width: 60px;
      padding: 5px 10px;
      font-size: 16px;
      border-radius: 6px;
      border: 1px solid #ccc;
      text-align: center;
    }

    button.add-to-cart {
      margin: 16px 0 0 20px;
      padding: 10px;
      background-color: #1C223E;
      border: none;
      border-radius: 8px;
      color: #ffffff;
      font-weight: 600;
      font-size: 20px;
      cursor: pointer;
      transition: background-color 0.3s ease;
      width: 200px;
      height: 50px;
      align-self: flex-start;
    }
    button.add-to-cart:hover {
      background-color:#111527;
    }

    .cart-box {
      font-family: Arial;
      background-color: white;
      max-width: 800px;
      margin: 30px auto;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      padding: 20px;
    }

    .cart-title {
      font-size: 26px;
      font-weight: bold;
      margin-bottom: 20px;
      color: #2c3e50;
    }

    .cart-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid #ddd;
      padding: 15px 0;
    }

    .item-name {
      flex: 2;
      font-weight: bold;
      font-size: 18px;
    }

    .item-controls {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .quantity-btn {
      background-color: #ddd;
      border: none;
      font-size: 18px;
      width: 30px;
      height: 30px;
      cursor: pointer;
    }

    .quantity {
      font-size: 16px;
      min-width: 30px;
      text-align: center;
    }

    .delete-btn {
      background-color: #e74c3c;
      color: white;
      border: none;
      font-weight: bold;
      padding: 8px 12px;
      cursor: pointer;
      border-radius: 5px;
    }

    .delete-btn:hover {
      background-color: #c0392b;
    }

    .total {
      font-size: 22px;
      font-weight: bold;
      text-align: right;
      margin-top: 20px;
    }

    a.checkout-btn {
      background-color: #1C223E;
      color: white;
      font-size: 30px;
      border: none;
      padding: 15px 30px;
      border-radius: 10px;
      cursor: pointer;
      display: block;
      margin: 30px auto 0 auto;
      text-decoration: none;
      width: 200px;
      text-align: center;
    }

    a.checkout-btn:hover {
      background-color: #111527;
    }

    .checkoutbody {
        background-color: #252020;
        font-family: Arial, sans-serif;
        color: #fff;
    }

.checkout-form {
  background-color: #fff;
  color: #000;
  border-radius: 15px;
  max-width: 500px;
  margin: 50px auto;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.3);
}

.checkout-form h2 {
  text-align: center;
}

.checkout-form input,
.checkout-form textarea {
  width: 478px;
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.checkout-form button {
  width: 500px;
  padding: 12px;
  background-color: #1C223E;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;

}

.checkout-form button:hover {
  background-color: #111527;
}

button:disabled {
  background-color: #aaa;
  cursor: not-allowed;
  opacity: 0.6;
}

.required {
  color: red;
  font-size: 0.9em;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  margin-top: 10px;
  border-top: 1px solid #ccc;
  padding-top: 8px;
}

.summary-total strong {
  font-weight: bold;
}

.total-summary {
  text-align: right;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
}

