:root {
  --blue-900: #0b2f7f;
  --blue-700: #1b4bb3;
  --blue-500: #2b6dde;
  --blue-200: #cddcff;
  --blue-100: #eef3ff;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(11, 47, 127, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--blue-900);
  font-family: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", serif;
}

.page {
  max-width: 1100px;
  margin: 32px auto 48px;
  padding: 0 20px;
}

.header {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

.title h1 {
  margin: 0 0 6px;
  font-size: 32px;
}

.title p {
  margin: 0;
  color: var(--blue-700);
}

.card {
  background: var(--white);
  border: 1px solid var(--blue-200);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.field label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--blue-700);
}

.field select,
.field input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--blue-200);
  color: var(--blue-900);
  background: var(--blue-100);
  font-size: 15px;
}

.divider {
  margin: 20px 0;
  height: 1px;
  background: var(--blue-200);
}

.products h2 {
  margin: 0 0 12px;
}

.service {
  margin-top: 20px;
}

.service h2 {
  margin: 0 0 12px;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 14px;
}

.product-card {
  border: 1px solid var(--blue-200);
  border-radius: 12px;
  padding: 14px;
  background: var(--blue-100);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-head input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.product-title {
  font-size: 16px;
  font-weight: 600;
}

.product-meta {
  font-size: 13px;
  color: var(--blue-700);
}

.note {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--blue-100);
  border: 1px dashed var(--blue-200);
  color: var(--blue-700);
  font-size: 13px;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

button {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 15px;
}

.primary {
  background: var(--blue-700);
  color: var(--white);
}

.ghost {
  background: transparent;
  border: 1px solid var(--blue-200);
  color: var(--blue-900);
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.summary {
  font-size: 17px;
  color: var(--blue-700);
}

.summary.warning {
  color: #c40000;
  font-weight: 600;
}

.summary-tax {
  margin-top: 6px;
  font-size: 14px;
  color: var(--blue-700);
}

.table-wrap {
  overflow-x: auto;
  margin-top: 16px;
}

.results {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.results th,
.results td {
  border-bottom: 1px solid var(--blue-200);
  padding: 10px 8px;
  text-align: left;
}

.results th {
  color: var(--blue-700);
  font-weight: 600;
}

.footer {
  font-size: 13px;
  color: var(--blue-700);
  text-align: center;
  margin-top: 10px;
}

@media (max-width: 720px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }
  .results-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .product-list {
    grid-template-columns: 1fr;
  }
}
