.price-hero {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  text-align: center;
}
.price-hero h1 { margin-bottom: 14px; }
.price-hero p { max-width: 560px; margin: 0 auto; }

.price-list {
  padding: 40px 0 90px;
  background:
    radial-gradient(ellipse 700px 400px at 85% 0%, rgba(29, 95, 214, 0.06), transparent),
    radial-gradient(ellipse 500px 350px at 0% 100%, rgba(154, 200, 50, 0.05), transparent);
}

.price-controls {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.search-box {
  position: relative;
  flex: 1;
  min-width: 260px;
}
.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  opacity: 0.6;
}
.search-box input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg-soft);
  color: var(--ink);
}
.search-box input:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--input-bg);
}
#categorySelect {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg-soft);
  color: var(--ink);
  min-width: 220px;
  cursor: pointer;
}
#categorySelect:focus { outline: none; border-color: var(--blue); }

.results-count {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 16px;
}

.price-table-wrap {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
}
.price-table {
  width: 100%;
  border-collapse: collapse;
}
.price-table thead th {
  text-align: left;
  padding: 16px 22px;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.price-table th.price-col,
.price-table td.price-col { text-align: right; }
.price-table tbody tr {
  border-top: 1px solid var(--border);
  transition: background 0.15s ease;
}
.price-table tbody tr:not(.cat-group-row):hover { background: var(--row-hover-bg); }
.price-table td {
  padding: 15px 22px;
  font-size: 0.95rem;
  line-height: 1.4;
}
.name-col {
  font-weight: 600;
  color: var(--heading);
  letter-spacing: -0.01em;
}
.price-changed-flag {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #1e9e5a;
  background: #e6f7ee;
  padding: 2px 8px;
  border-radius: 999px;
  vertical-align: middle;
  white-space: nowrap;
}
.price-col {
  font-weight: 800;
  color: var(--blue);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-size: 0.98rem;
}
.included { color: var(--gray); font-weight: 600; font-size: 0.82rem; font-style: italic; }

.cat-group-row td {
  background: var(--blue-light);
  color: var(--heading);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 22px;
  border-top: 1px solid var(--border);
}
.cat-group-row:first-child td { border-top: none; }
.cat-group-row:hover td { background: var(--blue-light) !important; }
.cat-group-count {
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  color: var(--blue);
  opacity: 0.75;
  font-size: 0.78rem;
}

.no-results {
  text-align: center;
  padding: 40px 20px;
  color: var(--gray);
}

.price-note {
  font-size: 0.82rem;
  color: var(--gray);
  margin-top: 20px;
  text-align: center;
}

.price-cta {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  text-align: center;
  padding: 70px 0;
}
.price-cta h2 { color: #fff; margin-bottom: 10px; }
.price-cta p { color: rgba(255,255,255,0.75); margin-bottom: 28px; }

.check-col { width: 44px; text-align: center; }
.price-table td.check-col { text-align: center; }
.select-check {
  width: 19px;
  height: 19px;
  cursor: pointer;
  accent-color: var(--blue);
}
.price-table tbody tr.row-selected { background: var(--blue-light); }

/* ---- Selection bar ---- */
.selection-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 27, 56, 0.75);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-top: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 -6px 24px rgba(0,0,0,0.18);
  z-index: 150;
  padding: 16px 0;
}
.selection-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.selection-bar-inner span {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}
.selection-bar-actions { display: flex; gap: 10px; }
.selection-bar-actions .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.selection-bar-actions .btn-outline:hover { border-color: #fff; }

/* ---- Reserve modal (popup) ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 27, 56, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 20px;
  overflow-y: auto;
}
.modal-overlay[hidden] { display: none; }
.modal-box {
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 460px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  margin: auto;
}
.modal-box-wide { max-width: 780px; text-align: center; }
.modal-box-wide .reserve-grid { text-align: left; margin-top: 24px; }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-soft);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--gray);
  z-index: 1;
}
.modal-close:hover { background: var(--border); }
.modal-box h2 { margin-bottom: 4px; }

.reserve-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}
.reserve-summary, .reserve-form-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.reserve-summary h3, .reserve-form-wrap h3 { margin-bottom: 14px; font-size: 1rem; }
.modal-selected-list {
  max-height: 180px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
}
.modal-selected-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  font-size: 0.87rem;
  border-bottom: 1px solid var(--border);
}
.modal-selected-item span:first-child { min-width: 0; }
.modal-selected-item span:last-child { flex-shrink: 0; white-space: nowrap; font-weight: 700; }
.modal-selected-item:last-child { border-bottom: none; }
.modal-total {
  text-align: right;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 20px;
}
.modal-success {
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.5;
}
.modal-chat-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.modal-chat-buttons .btn { flex: 1; min-width: 140px; }

@media (max-width: 640px) {
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table td {
    display: block;
    width: 100%;
  }
  .price-table tbody tr:not(.cat-group-row) {
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }
  .price-table tbody tr:not(.cat-group-row) td { padding: 0; border: none; width: auto; }
  .price-table tbody tr:not(.cat-group-row) td.check-col { flex: 0 0 auto; }
  .price-table tbody tr:not(.cat-group-row) td.name-col { flex: 1 1 auto; min-width: 0; }
  .price-table tbody tr:not(.cat-group-row) td.price-col { flex: 0 0 auto; white-space: nowrap; }
  .cat-group-row td { padding: 10px 20px; }
  .selection-bar-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .selection-bar { padding-bottom: 18px; }
  .reserve-grid { grid-template-columns: 1fr; }
}

/* Price catalogue */
.price-hero .container, .price-list > .container { max-width: 1000px; }
.price-hero {
  padding: 38px 0 42px;
  text-align: left;
  background: linear-gradient(115deg, var(--bg-soft) 0%, var(--bg) 70%);
  border-bottom: 1px solid var(--border);
}
.price-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.price-hero-copy { max-width: 700px; }
.price-hero h1 {
  max-width: 780px;
  margin: 14px 0 12px;
  font-size: clamp(2.3rem, 3.7vw, 3.05rem);
  line-height: 1.1;
  letter-spacing: -.03em;
}
.price-hero p {
  max-width: 700px;
  margin: 0;
  line-height: 1.65;
}
.price-hero-mark {
  flex: 0 0 120px;
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  color: var(--blue);
  border-radius: 32px;
  background: var(--blue-light);
  transform: rotate(-7deg);
}
.price-hero-mark svg { width: 100px; transform: rotate(7deg); }
.price-list {
  padding: 30px 0 84px;
  background: var(--bg);
}
.price-toolbar {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--input-bg);
  padding: 20px 22px 17px;
  box-shadow: 0 12px 36px rgba(15, 43, 83, .055);
  margin-bottom: 22px;
}
.price-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 310px);
  gap: 16px;
  margin: 0;
}
.price-field { display: block; min-width: 0; }
.price-field-label {
  display: block;
  color: var(--heading);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 9px 2px;
}
.price-input-wrap { position: relative; display: block; }
.search-icon, .filter-icon {
  position: absolute;
  z-index: 1;
  width: 20px;
  height: 20px;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  pointer-events: none;
  opacity: 1;
}
.search-box { flex: none; }
.search-box input, #categorySelect {
  width: 100%;
  height: 54px;
  padding: 0 16px 0 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
  font-size: .94rem;
  font-weight: 600;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.search-box input:hover, #categorySelect:hover { border-color: rgba(29,95,214,.45); }
.search-box input:focus, #categorySelect:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--input-bg);
  box-shadow: 0 0 0 4px rgba(29,95,214,.11);
}
.search-box input::placeholder { color: var(--gray); font-weight: 500; }
#categorySelect { cursor: pointer; }
.price-toolbar-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border);
  margin-top: 18px;
  padding-top: 14px;
}
.results-count {
  margin: 0;
  color: var(--heading);
  font-size: .86rem;
  font-weight: 800;
}
.price-selection-hint { color: var(--gray); font-size: .82rem; font-weight: 600; }
.price-table-wrap {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--input-bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 18px 48px rgba(15,43,83,.075);
}
.price-table thead th {
  padding: 19px 22px;
  background: var(--navy-dark);
  font-size: .76rem;
  letter-spacing: .09em;
}
.price-table thead th.check-col { width: 68px; }
.price-table td { padding: 18px 22px; }
.price-table td.check-col { width: 68px; }
.price-table tbody tr:not(.cat-group-row) { background: var(--input-bg); }
.price-table tbody tr:not(.cat-group-row) { cursor: pointer; }
.price-table tbody tr:not(.cat-group-row):hover { background: var(--row-hover-bg); }
.price-table tbody tr.row-selected, .price-table tbody tr.row-selected:hover { background: var(--blue-light); }
.name-col { font-weight: 700; }
.price-table td.price-col { font-size: 1rem; font-weight: 800; }
.cat-group-row td {
  padding: 13px 22px 13px 26px;
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  border-top: 1px solid var(--border);
  font-size: .8rem;
}
.cat-group-title { display: inline-block; }
.cat-group-count {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 23px;
  padding: 0 7px;
  margin-left: 9px;
  border-radius: 999px;
  background: var(--input-bg);
  color: var(--blue);
  opacity: 1;
  font-size: .74rem;
  font-weight: 800;
}
.select-check {
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 1.5px solid #91a7c6;
  border-radius: 7px;
  background: var(--input-bg);
  vertical-align: middle;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.select-check:hover { border-color: var(--blue); transform: scale(1.08); }
.select-check:focus-visible { outline: 3px solid rgba(29,95,214,.25); outline-offset: 2px; }
.select-check:checked { background: var(--blue); border-color: var(--blue); }
.select-check:checked::after {
  content: '';
  width: 13px;
  height: 8px;
  border-left: 2.5px solid white;
  border-bottom: 2.5px solid white;
  transform: rotate(-45deg) translate(2px,-2px);
}
.price-note { max-width: 840px; margin: 20px auto 0; line-height: 1.6; }
.selection-bar { background: rgba(11,32,66,.95); backdrop-filter: blur(14px); }

@media (max-width: 800px) {
  .price-hero-mark { flex-basis: 105px; width: 105px; height: 105px; border-radius: 24px; }
  .price-hero-mark svg { width: 90px; }
}
@media (max-width: 640px) {
  .price-hero { padding: 34px 0 35px; }
  .price-hero h1 { font-size: clamp(2rem, 9vw, 2.65rem); margin: 12px 0 10px; }
  .price-hero p { font-size: .94rem; line-height: 1.6; }
  .price-hero-mark { display: none; }
  .price-list { padding: 20px 0 62px; }
  .price-toolbar { padding: 17px; border-radius: 16px; margin-bottom: 17px; }
  .price-controls { grid-template-columns: 1fr; gap: 14px; }
  .price-field-label { margin-bottom: 7px; }
  .search-box input, #categorySelect { height: 52px; font-size: .9rem; }
  .price-toolbar-foot { flex-direction: column; align-items: flex-start; gap: 3px; margin-top: 15px; padding-top: 12px; }
  .price-selection-hint { font-size: .78rem; }
  .price-table-wrap { border: none; border-radius: 0; box-shadow: none; background: transparent; overflow: visible; }
  .price-table tbody tr.cat-group-row { border: 0; }
  .cat-group-row td { margin: 20px 0 10px; padding: 12px 16px; border: 0; border-left: 4px solid var(--blue); border-radius: 10px; }
  .cat-group-row:first-child td { margin-top: 0; }
  .price-table tbody tr:not(.cat-group-row) {
    padding: 15px;
    margin-bottom: 8px;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(15,43,83,.035);
    align-items: flex-start;
    gap: 11px;
  }
  .price-table tbody tr:not(.cat-group-row) td.check-col { padding-top: 1px; }
  .price-table tbody tr:not(.cat-group-row) td.name-col { font-size: .88rem; line-height: 1.4; }
  .price-table tbody tr:not(.cat-group-row) td.price-col { font-size: .88rem; }
  .select-check { width: 24px; height: 24px; }
  .price-note { margin-top: 17px; font-size: .76rem; text-align: left; }
  .selection-bar-actions { width: 100%; }
  .selection-bar {
    padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  }
  .selection-bar-inner { gap: 9px; }
  .selection-bar-inner span { font-size: .78rem; line-height: 1.3; }
  .selection-bar-actions { gap: 8px; }
  .selection-bar-actions .btn {
    min-width: 0;
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 9px;
    font-size: .76rem;
    line-height: 1.2;
    box-shadow: none;
  }
  .selection-bar-actions .btn-outline { flex: 0 0 82px; }
  .selection-bar-actions .btn-primary { flex: 1 1 auto; }
  .reserve-form-wrap .btn-block, .modal-chat-buttons .btn {
    min-height: 42px;
    padding: 10px 12px;
    font-size: .8rem;
    line-height: 1.3;
  }
  .modal-box { padding: 22px 17px; }
  .reserve-summary, .reserve-form-wrap { padding: 18px; }
}
