@import url(https://fonts.googleapis.com/css?family=Lato:300,400,700);

body {
  background: #03C9A9;
  font-family: 'Lato', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

.product-card { text-align: center; position: relative; padding: 20px; }

.product-img {
  width: 260px;
  border-radius: 20px;
  margin-bottom: 15px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* Product Info Styles */
.product-title {
  color: #fff;
  font-size: 24px;
  margin: 5px 0;
  font-weight: 700;
}

.product-price {
  color: #16A085;
  background: rgba(255, 255, 255, 0.9);
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
}

.bar { margin: 15px auto; height: 2px; width: 60px; background: #16A085; }

.close-btn {
  height: 30px; width: 30px; background: #7f8c8d;
  border-radius: 50%; margin: 0 auto 15px;
  cursor: pointer; display: none;
  line-height: 30px; color: white;
}

.button-container {
  position: relative; height: 60px; width: 300px;
  margin: 0 auto; overflow: hidden; border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.add-layer {
  background: #16A085; color: #fff;
  height: 100%; width: 100%; position: absolute;
  z-index: 2; cursor: pointer; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.add-layer h4 { line-height: 60px; margin: 0; font-weight: 700; }

.options-layer { display: flex; height: 100%; width: 100%; position: absolute; z-index: 1; }
.checkout-link, .continue-link {
  width: 50%; height: 100%; line-height: 60px;
  text-decoration: none; color: white; transition: 0.3s;
}
.checkout-link { background: #34495E; }
.continue-link { background: #2C3E50; }

/* Modal Styles */
.modal-overlay {
    display: none; position: fixed;
    top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.85); z-index: 1000;
    justify-content: center; align-items: center;
}
.modal-content {
    background: white; padding: 25px; border-radius: 15px;
    width: 340px; text-align: center;
}
.modal-content input, .modal-content textarea {
    width: 100%; margin-bottom: 10px; padding: 10px;
    border: 1px solid #ddd; border-radius: 5px;
}
#qrcode-container { display: none; margin: 15px 0; }
#qrcode { display: flex; justify-content: center; padding: 10px; }
.modal-actions { display: flex; gap: 10px; margin-top: 10px; }
#pay-btn { background: #16A085; color: white; border: none; flex: 2; padding: 12px; border-radius: 5px; cursor:pointer; font-weight: bold;}
#cancel-btn { background: #e74c3c; color: white; border: none; flex: 1; padding: 12px; border-radius: 5px; cursor:pointer; }