/* Full page background */
body.checkoutPage {
  margin: 0;
  min-height: 100vh;
  background: url("/images/checkoutimage.png") center/cover no-repeat fixed;
  color: #fff;
}

/* Dark overlay on background */
body.checkoutPage::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: -1;
}

/* Topbar */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}

.backBtn, .cartBtn {
  background: rgba(0,0,0,0.35);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 14px;
  padding: 8px 12px;
  backdrop-filter: blur(12px);
}

.topTitle {
  text-align: center;
  line-height: 1.1;
}

.smallTitle {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.9;
}

.brandTitle {
  font-size: 16px;
  letter-spacing: 6px;
  font-weight: 600;
}

/* Layout: left form + right bill */
.checkoutLayout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 110px 18px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center; /* keep in middle feel */
}

/* Mobile stack */
@media (max-width: 900px) {
  .checkoutLayout {
    grid-template-columns: 1fr;
  }
}

/* Glass boxes */
.glassBox {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  padding: 20px;
}

.boxTitle {
  margin: 0 0 14px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 13px;
}

/* Form */
.form label {
  display: block;
  margin: 10px 0 6px;
  font-size: 13px;
  opacity: 0.95;
}

.form input, .form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.25);
  color: #fff;
  padding: 12px 12px;
  outline: none;
  box-sizing: border-box;
}

.form input:focus, .form textarea:focus {
  border-color: rgba(255,255,255,0.6);
}

.msg {
  margin: 12px 0 0;
  font-size: 13px;
  opacity: 0.95;
}

/* Bill items */
.billItems {
  margin-bottom: 14px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.18);
}

.billItem {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px;
  background: rgba(0,0,0,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.billItem:last-child {
  border-bottom: none;
}

.billLeft {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.billName {
  font-weight: 700;
}

.billQty {
  font-size: 12px;
  opacity: 0.9;
}

/* Totals */
.billLine {
  display: flex;
  justify-content: space-between;
  padding: 10px 2px;
  font-size: 15px;
}

.totalLine {
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 6px;
  padding-top: 14px;
  font-size: 20px;
}

/* Confirm button */
.confirmBtn {
  width: 100%;
  margin-top: 14px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s;
}

.confirmBtn:hover {
  opacity: 0.92;
}

.payNote {
  margin-top: 12px;
  font-size: 13px;
  opacity: 0.9;
}
