/* Trang /baogia — báo giá tính năng */
.baogia-page {
  background: var(--gray-50, #f8fafc);
}

.baogia-sticky {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200, #e2e8f0);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.baogia-sticky-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.baogia-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--primary, #c2410c);
  font-weight: 700;
  font-size: 1.05rem;
}

.baogia-brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: contain;
}

.baogia-total-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 140px;
  padding: 0.35rem 0.85rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border: 1px solid #fed7aa;
}

.baogia-total-label {
  font-size: 0.75rem;
  color: var(--gray-600, #475569);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.baogia-total-box strong {
  font-size: 1.25rem;
  color: var(--primary, #c2410c);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.baogia-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3rem;
}

.baogia-intro h1 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  color: var(--gray-800, #1e293b);
}

.baogia-intro p {
  margin: 0 0 0.4rem;
  color: var(--gray-600, #475569);
  line-height: 1.5;
}

.baogia-intro code {
  font-size: 0.88em;
  background: #fff;
  border: 1px solid var(--gray-200, #e2e8f0);
  border-radius: 6px;
  padding: 0.1em 0.4em;
}

.baogia-meta {
  margin-top: 0.75rem !important;
}

.baogia-status {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #fee2e2;
  color: #9b2c2c;
  font-size: 0.95rem;
}

.baogia-loading {
  color: var(--gray-600, #475569);
  padding: 1.5rem 0;
}

.baogia-sections {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.baogia-section {
  background: #fff;
  border: 1px solid var(--gray-200, #e2e8f0);
  border-radius: 14px;
  overflow: hidden;
}

.baogia-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  background: linear-gradient(90deg, #fff7ed, #fff);
  border-bottom: 1px solid var(--gray-200, #e2e8f0);
}

.baogia-section-head h2 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--gray-800, #1e293b);
}

.baogia-section-toggle {
  border: 0;
  background: transparent;
  color: var(--primary, #c2410c);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.25rem 0.4rem;
}

.baogia-section-toggle:hover {
  text-decoration: underline;
}

.baogia-feature-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
}

.baogia-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 1.1rem;
  border-bottom: 1px solid var(--gray-100, #f1f5f9);
  cursor: pointer;
  transition: background 0.15s ease;
}

.baogia-feature:last-child {
  border-bottom: 0;
}

.baogia-feature:hover {
  background: #fffbeb;
}

.baogia-feature input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--primary, #c2410c);
  flex-shrink: 0;
  cursor: pointer;
}

.baogia-feature-body {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.baogia-feature-name {
  color: var(--gray-800, #1e293b);
  font-weight: 500;
  line-height: 1.4;
}

.baogia-feature-price {
  font-variant-numeric: tabular-nums;
  color: var(--gray-600, #475569);
  font-size: 0.95rem;
  white-space: nowrap;
}

.baogia-feature.is-checked .baogia-feature-price {
  color: var(--primary, #c2410c);
  font-weight: 600;
}

.baogia-actions {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-200, #e2e8f0);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.baogia-actions .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.baogia-export-hint {
  flex-basis: 100%;
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--gray-600, #475569);
}

@media (max-width: 560px) {
  .baogia-sticky-inner {
    padding: 0.65rem 1rem;
  }
  .baogia-brand span {
    font-size: 0.95rem;
  }
  .baogia-total-box strong {
    font-size: 1.1rem;
  }
  .baogia-intro h1 {
    font-size: 1.4rem;
  }
}
