.booking-helper {
  max-width: 1050px;
  margin: 28px auto 0;
  padding: 18px 20px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 0 14px 14px 0;
  line-height: 1.6;
}

.booking-helper strong {
  color: var(--ink);
}

.price-row.booking-enabled {
  grid-template-columns: 6px minmax(0, 1fr) auto auto;
}

.booking-add,
.booking-option,
.booking-remove,
.booking-close,
.booking-action,
.booking-dock-button {
  font: inherit;
}

.booking-add {
  min-width: 64px;
  padding: 7px 11px;
  color: var(--ink);
  background: var(--gold-light);
  border: 1px solid rgba(141, 108, 53, 0.32);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.booking-add:hover,
.booking-add:focus-visible {
  background: var(--gold);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
}

.booking-add.is-added {
  color: #176b38;
  background: #e3f5e9;
  border-color: rgba(23, 107, 56, 0.3);
}

.booking-dock {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 1450;
  width: min(92vw, 470px);
  transform: translateX(-50%);
}

.booking-dock[hidden] {
  display: none;
}

.booking-dock-button {
  display: flex;
  width: 100%;
  padding: 14px 18px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid rgba(202, 167, 102, 0.65);
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  font-weight: 700;
}

.booking-dock-summary {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.booking-dock-arrow {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--ink);
  background: var(--gold);
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
}

.booking-dialog {
  width: min(94vw, 680px);
  max-height: 90vh;
  margin: auto;
  padding: 0;
  color: var(--text);
  background: var(--ivory);
  border: 1px solid rgba(202, 167, 102, 0.55);
  border-radius: 20px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

.booking-dialog::backdrop {
  background: rgba(15, 16, 14, 0.72);
  backdrop-filter: blur(3px);
}

.booking-panel {
  padding: 26px;
}

.booking-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.booking-dialog-header h2,
.booking-dialog-header h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 5vw, 2.35rem);
  font-weight: 600;
  line-height: 1.05;
}

.booking-dialog-header p {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.booking-close {
  display: inline-grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
}

.booking-items {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.booking-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.booking-item-name {
  color: var(--ink);
  font-weight: 700;
}

.booking-item-meta {
  color: var(--muted);
  font-size: 0.82rem;
}

.booking-item-price {
  grid-column: 2;
  grid-row: 1;
  color: var(--gold-dark);
  font-weight: 700;
}

.booking-remove {
  grid-column: 2;
  color: #7d302a;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.8rem;
  text-decoration: underline;
}

.booking-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.booking-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.booking-field-wide {
  grid-column: 1 / -1;
}

.booking-field input,
.booking-field textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--text);
  background: var(--white);
  border: 1px solid rgba(75, 65, 46, 0.25);
  border-radius: 10px;
  font: inherit;
  font-weight: 400;
}

.booking-field textarea {
  min-height: 82px;
  resize: vertical;
}

.booking-field input:focus,
.booking-field textarea:focus {
  border-color: var(--gold-dark);
  outline: 3px solid rgba(202, 167, 102, 0.22);
}

.booking-note,
.booking-status {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.booking-status {
  min-height: 1.3em;
  color: #176b38;
  font-weight: 700;
}

.booking-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 18px;
}

.booking-action {
  padding: 12px 14px;
  color: var(--ink);
  background: var(--gold-light);
  border: 1px solid rgba(141, 108, 53, 0.32);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.booking-action-primary {
  color: var(--white);
  background: #25d366;
  border-color: #1da851;
}

.booking-action:hover,
.booking-action:focus-visible {
  border-color: var(--gold-dark);
  filter: brightness(0.96);
}

.booking-options {
  display: grid;
  gap: 10px;
}

.booking-option {
  display: flex;
  width: 100%;
  padding: 13px 15px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
}

.booking-option:hover,
.booking-option:focus-visible {
  border-color: var(--gold-dark);
  background: #f8f1e5;
}

.booking-option:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.booking-option-price {
  color: var(--gold-dark);
  font-weight: 700;
  white-space: nowrap;
}

body.booking-active .whatsapp {
  bottom: 86px;
}

body.booking-active footer {
  padding-bottom: 124px;
}

@media (max-width: 700px) {
  .price-row.booking-enabled {
    grid-template-columns: 6px minmax(0, 1fr) auto;
  }

  .price-row.booking-enabled .booking-add {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .booking-panel {
    padding: 21px 18px;
  }

  .booking-fields,
  .booking-actions {
    grid-template-columns: 1fr;
  }

  .booking-field-wide {
    grid-column: auto;
  }

}

@media (prefers-reduced-motion: reduce) {
  .booking-add {
    transition: none;
  }
}
