* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Cairo", sans-serif;
  scroll-behavior: smooth;
}


#goInvoiceBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 14px 20px;
  background: #0d6efd;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  cursor: pointer;
  display: none; /* مخفي في البداية */
  z-index: 9999;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

#goInvoiceBtn:hover {
  background: #084298;
}


body {
  background: #f8f9fa;
  color: #222;
  line-height: 1.6;
}


/* Buttons */
.btn {
  background: #0d6efd;
  color: #fff;
  padding: 14px 30px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: .4s
}

.btn:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(13, 109, 253, 0.721)
}


/* Hero Section */
.hero {
  min-height: 100vh;
  background-color: white;
  color: rgb(0, 44, 109);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.hero img {
  max-width: 500px;
  width: 100%;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 28px;
  margin-bottom: 20px;
}


/* Products Section */
.products {
  padding: 60px 20px;
  text-align: center;
}

.products h2 {
  font-size: 26px;
  margin-bottom: 30px;
}


.search{
  width: 70%;
}


.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* Card Design */
.card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  margin-bottom: 10px;
  font-weight: bold;
}
.card-body select,
.card-body input {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  margin-bottom: 10px
}

.price {
  font-weight: bold;
  margin-bottom: 10px
}

/* Order Section */
.order {
  padding: 60px 20px;
  background: #fff;
}

.order h2 {
  text-align: center;
  margin-bottom: 20px;
}

.order-list {
  background: #f1f3f5;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
  justify-self: center;
  border: 1px solid rgba(0, 0, 0, 0.36);
}

#total {
  margin-top: 10px;
  font-weight: bold;
  color: black;
}

/* Form */
form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

select{
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
}

input {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
  transition: 0.3s;
}
 input:focus {
  border-color: #0d6efd;
}

.order form button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(13, 110, 253, 0.4);
}

.remove {
  background: red;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 4px 10px;
  cursor: pointer
}

/* Footer */
footer {
  background: rgb(3, 33, 78);
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

footer iframe {
  width: 100%;
  height: 250px;
  margin-top: 20px;
  border-radius: 10px;
}


@media screen and (max-width: 768px) {
  .products .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    justify-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}
  
  #btn-add{
    font-weight: bold;
    padding: 12px 25px;
  }
}

