/* Givral structured price list — warm autumn palette */
.bg-struct {
  --bg-cream: #faf6ef;
  --bg-card: #fffdf9;
  --accent: #b42318;
  --accent-soft: #c4502a;
  --orange: #e67a2e;
  --ink: #2c2118;
  --muted: #6b5a4a;
  --line: #e8d9c4;
  --new: #f0b429;
  --veg: #2d6a4f;
  --best: #d97706;
  font-family: "Segoe UI", "Be Vietnam Pro", system-ui, sans-serif;
  color: var(--ink);
}

.bg-struct__toc {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.65rem 0.25rem;
  margin: 0 0 1.25rem;
  background: rgba(250, 246, 239, 0.96);
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}

.bg-struct__toc a {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.bg-struct__toc a:hover,
.bg-struct__toc a:focus {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  text-decoration: none;
}

.bg-struct__section {
  scroll-margin-top: 4rem;
  margin-bottom: 2rem;
  padding: 1.25rem 1rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.bg-struct__section-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.bg-struct__section-sub {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.bg-struct__combo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .bg-struct__combo-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.bg-struct__combo {
  padding: 0.9rem 1rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, #fffefb 0%, var(--bg-cream) 100%);
}

.bg-struct__combo-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.55rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--accent);
}

.bg-struct__combo-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
}

.bg-struct__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  border-radius: 6px;
  background: var(--orange);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.bg-struct__badge strong {
  font-weight: 800;
}

.bg-struct__tag {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  font-style: italic;
}

.bg-struct__tag--new {
  background: var(--new);
  color: var(--accent);
}

.bg-struct__tag--veg {
  background: #d8f3dc;
  color: var(--veg);
}

.bg-struct__tag--best {
  background: #fff3cd;
  color: var(--best);
}

.bg-struct__items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bg-struct__items li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  padding: 0.28rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.92rem;
}

.bg-struct__items li:last-child {
  border-bottom: 0;
}

.bg-struct__code {
  font-weight: 700;
  color: var(--accent-soft);
  min-width: 2.4rem;
}

.bg-struct__code a {
  color: inherit;
  text-decoration: none;
}

.bg-struct__code a:hover {
  text-decoration: underline;
}

.bg-struct__eggs {
  letter-spacing: 0.05em;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
}

.bg-struct__eggs--veg {
  color: var(--veg);
}

.bg-struct__note {
  margin: 0.55rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

.bg-struct__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 0.5rem;
}

.bg-struct__table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  font-size: 0.9rem;
}

@media (min-width: 640px) {
  .bg-struct__table {
    min-width: 560px;
  }
}

.bg-struct__table th,
.bg-struct__table td {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.bg-struct__table thead th {
  background: var(--bg-cream);
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
  border-bottom: 2px solid var(--accent);
}

.bg-struct__table tbody tr:nth-child(even) {
  background: #fffaf3;
}

.bg-struct__table tbody tr:hover {
  background: #fff0e0;
}

.bg-struct__cell {
  white-space: nowrap;
}

.bg-struct__cell-code {
  font-weight: 700;
  color: var(--accent-soft);
  margin-right: 0.35rem;
}

.bg-struct__cell-code a {
  color: inherit;
  text-decoration: none;
}

.bg-struct__cell-code a:hover {
  text-decoration: underline;
}

.bg-struct__cell-price {
  font-variant-numeric: tabular-nums;
}

.bg-struct__empty {
  color: #b5a898;
}

.bg-struct__single-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

@media (min-width: 640px) {
  .bg-struct__single-list {
    grid-template-columns: 1fr 1fr;
  }
}

.bg-struct__single-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.6rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-cream);
  font-size: 0.9rem;
}

.bg-struct__single-price {
  margin-left: auto;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.bg-struct__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 1.25rem 0 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: var(--bg-cream);
  border: 1px dashed var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

.bg-struct__legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.bg-struct__footnotes {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--muted);
}

.bg-struct__footnotes li {
  margin-bottom: 0.25rem;
}

.bg-struct__footnotes li::before {
  content: "* ";
  color: var(--accent);
}
