.cart-checkout-bar {
  position: sticky;
  bottom: calc(var(--nav-height) + 12px);
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  margin-top: 18px;
}
.cart-checkout-bar > div {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.cart-checkout-bar > div > span {
  font-size: 12px;
  color: #52604f;
}
.cart-checkout-bar strong {
  font-size: 24px;
  color: var(--leaf-900);
}
.cart-checkout-bar .checkout-btn {
  width: auto;
  margin: 0;
  padding: 14px 22px;
}
.checkout-btn:disabled {
  background: #e2e6dd;
  color: #52604f;
  box-shadow: none;
}
.checkout-note {
  margin: 12px 0;
  color: #52604f;
  font-size: 13px;
  line-height: 1.6;
}
.checkout-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(20, 35, 22, 0.5);
}
.checkout-modal.show {
  display: flex;
}
.checkout-dialog {
  width: 100%;
  max-width: 540px;
  padding: 24px;
  border-radius: 22px;
  background: #fffdf8;
  box-shadow: var(--shadow);
}
.checkout-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.checkout-dialog-head h2 {
  font-size: 22px;
}
.checkout-dialog-head button {
  width: 42px;
  height: 42px;
  font-size: 28px;
  border-radius: 50%;
  background: var(--mint);
}
.review-customer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.review-customer span {
  color: #52604f;
}
.review-items {
  list-style: none;
}
.review-items li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.review-items li > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow-wrap: anywhere;
}
.review-items li span {
  font-size: 13px;
  color: #52604f;
  margin-top: 3px;
}
.review-items li > strong {
  white-space: nowrap;
}
.review-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
}
.review-total strong {
  color: var(--leaf-900);
  font-size: 26px;
}
.review-notes {
  padding: 14px;
  border-radius: 12px;
  background: var(--mint);
  font-size: 14px;
  overflow-wrap: anywhere;
}
.review-notes p {
  margin-top: 4px;
  white-space: pre-wrap;
}
.checkout-dialog-actions {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 20px;
}
.checkout-dialog-actions .checkout-btn {
  flex: 1;
  width: auto;
  margin: 0;
}
.review-back {
  padding: 12px;
  border: 1px solid #899981;
  border-radius: 14px;
}
@media (max-width: 480px) {
  .checkout-dialog {
    padding: 20px;
  }
  .cart-checkout-bar {
    padding: 12px;
    gap: 8px;
  }
  .cart-checkout-bar strong {
    font-size: 22px;
  }
  .cart-checkout-bar .checkout-btn {
    padding: 12px 16px;
    font-size: 15px;
  }
}
.orders-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
}
.orders-pagination button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #b9c8bb;
  border-radius: 8px;
  color: #24522f;
  background: #fff;
}
.orders-pagination button:disabled {
  opacity: 0.55;
}
