.booking-header,
.booking-card,
.booking-summary {
  --brand: #8b4513;
  --brand-dark: #65300d;
  --accent: #d4a62a;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
}
.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 9px;
}
.booking-summary {
  overflow: hidden;
  padding: 28px;
}
.booking-summary h1 {
  margin-bottom: 20px;
}
.booking-hero {
  height: 185px;
  margin: 0 -28px 24px;
  overflow: hidden;
  background: #dfe9e5;
}
.booking-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service {
  overflow: hidden;
  padding: 16px;
  background: linear-gradient(135deg,#fff 70%,#f4faf8);
}
.service-thumb {
  width: 104px;
  height: auto;
  align-self: stretch;
  overflow: hidden;
  border-radius: 12px;
  background: #e3f1ef;
}
.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}
.service:hover .service-thumb img {
  transform: scale(1.05);
}
.service:has(.service-thumb) {
  grid-template-columns: 104px 1fr auto;
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 10px 15px;
  border: 1px solid rgba(139, 69, 19, .28);
  border-radius: 999px;
  background: #fffaf4;
  color: var(--brand-dark);
  box-shadow: 0 4px 12px rgba(101, 48, 13, .08);
  transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.back span {
  font-size: 18px;
  line-height: 1;
  transition: transform .18s ease;
}
.back:hover,
.back:focus-visible {
  border-color: var(--brand);
  background: #fff3e4;
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(101, 48, 13, .13);
}
.back:hover span,
.back:focus-visible span {
  transform: translateX(-2px);
}
.back:focus-visible {
  outline: 3px solid rgba(212, 166, 42, .32);
  outline-offset: 2px;
}
.administrative-message-field {
  margin: 2px 0 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdfc;
}
.administrative-message-field label {
  margin-bottom: 0;
}
.administrative-message-field textarea {
  resize: vertical;
}
.administrative-message-warning {
  margin: 14px 0 4px;
  padding: 11px 13px;
  border-left: 4px solid var(--accent);
  border-radius: 7px;
  background: #fff6ec;
  color: #6f451f;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}
.administrative-message-counter {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  text-align: right;
}
@media (max-width: 800px) {
  .booking-summary {
    display: grid;
    grid-template-columns: 1fr 150px;
    gap: 0 18px;
  }
  .booking-summary > :not(.booking-hero) {
    grid-column: 1;
  }
  .booking-hero {
    grid-column: 2;
    grid-row: 1 / span 5;
    height: 100%;
    min-height: 180px;
    margin: -28px;
  }
  .service:has(.service-thumb) {
    grid-template-columns: 86px 1fr;
  }
  .service-thumb {
    width: 86px;
    height: auto;
  }
}
@media (max-width: 540px) {
  .booking-summary {
    display: block;
  }
  .booking-hero {
    height: 150px;
    margin: 0 -28px 22px;
  }
  .service,
  .service:has(.service-thumb) {
    grid-template-columns: 72px 1fr;
  }
  .service-thumb {
    width: 72px;
    height: auto;
  }
}
