.reservation-panel {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  color: #5e493a;
  margin-top: 30px;
  padding: 30px;
}

.reservation-panel h3,
.reservation-panel h4 {
  color: #c98c8c;
  margin-top: 0;
}

.reservation-grid {
  display: grid;
  gap: 20px;
}

.reservation-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.reservation-form-row .form-control {
  border: 1px solid rgba(94, 73, 58, 0.2);
  border-radius: 999px;
  flex: 1 1 240px;
  height: 48px;
}

.reservation-form-row .btn {
  min-height: 48px;
  padding: 0 24px;
}

.reservation-message {
  border-radius: 14px;
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
}

.reservation-message.is-visible {
  display: block;
}

.reservation-message.is-error {
  background: rgba(166, 67, 67, 0.12);
  color: #8f2d2d;
}

.reservation-message.is-success {
  background: rgba(76, 143, 95, 0.14);
  color: #2e6a3d;
}

.reservation-summary {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.reservation-status-pill {
  background: rgba(201, 140, 140, 0.15);
  border-radius: 999px;
  color: #a26666;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  text-transform: uppercase;
}

.reservation-description {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.guest-card {
  background: #fff8f3;
  border: 1px solid rgba(94, 73, 58, 0.1);
  border-radius: 16px;
  padding: 18px 20px;
}

.guest-card h4 {
  margin-bottom: 14px;
}

.guest-option {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.guest-option:last-child {
  margin-bottom: 0;
}

.guest-option input {
  accent-color: #c98c8c;
  height: 18px;
  width: 18px;
}

.reservation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.reservation-extra-fields {
  margin-top: 24px;
}

.reservation-extra-card {
  background: #fff8f3;
  border: 1px solid rgba(94, 73, 58, 0.1);
  border-radius: 16px;
  padding: 20px;
}

.reservation-extra-copy {
  color: rgba(94, 73, 58, 0.78);
  margin-bottom: 0;
}

.reservation-extra-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.reservation-field {
  display: grid;
  gap: 8px;
}

.reservation-field:last-child {
  grid-column: 1 / -1;
}

.reservation-field label {
  color: #5e493a;
  font-weight: 700;
  margin-bottom: 0;
}

.reservation-field .form-control {
  border: 1px solid rgba(94, 73, 58, 0.2);
  border-radius: 14px;
  min-height: 48px;
}

.reservation-field textarea.form-control {
  min-height: 140px;
  padding: 12px 14px;
  resize: vertical;
}

.reservation-help {
  color: rgba(94, 73, 58, 0.75);
  margin-top: 12px;
}

.gift-panel__summary {
  align-items: flex-start;
  margin-bottom: 8px;
}

.gift-panel__actions {
  display: flex;
  flex-shrink: 0;
}

.gift-summary {
  margin-bottom: 0;
}

.gift-empty-message {
  color: rgba(94, 73, 58, 0.8);
  font-size: 16px;
  margin-bottom: 0;
}

.gift-grid {
  display: grid;
  gap: 24px;
}

.gift-card {
  align-items: start;
  background: #fffdf9;
  border: 1px solid rgba(94, 73, 58, 0.1);
  border-radius: 20px;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  padding: 22px;
}

.gift-card__media {
  aspect-ratio: 4 / 3;
  background: #f3e7dd;
  border-radius: 16px;
  min-height: 180px;
  overflow: hidden;
}

.gift-card__media--placeholder {
  align-items: center;
  color: #a26666;
  display: flex;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gift-card__image {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.gift-card__content h4 {
  color: #5e493a;
  margin: 0 0 16px;
}

.gift-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 14px;
}

.gift-card__stat {
  min-width: 110px;
}

.gift-card__stat-label {
  color: rgba(94, 73, 58, 0.72);
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.gift-card__stat strong {
  color: #5e493a;
  font-size: 18px;
}

.gift-card__progress {
  margin-bottom: 16px;
}

.gift-card__progress-label {
  color: rgba(94, 73, 58, 0.8);
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  margin-bottom: 8px;
}

.gift-card__progress-track {
  background: rgba(201, 140, 140, 0.18);
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.gift-card__progress-fill {
  background: linear-gradient(90deg, #c98c8c 0%, #a26666 100%);
  border-radius: inherit;
  height: 100%;
}

.gift-card__own-summary {
  color: #5e493a;
  font-weight: 700;
  margin-bottom: 0;
}

.gift-donation-form {
  margin-top: 18px;
}

.gift-donation-form__anonymous {
  align-items: center;
  color: #5e493a;
  display: inline-flex;
  font-weight: 700;
  gap: 8px;
  margin-bottom: 0;
}

.gift-donation-form__anonymous input {
  accent-color: #c98c8c;
  height: 18px;
  margin: 0;
  width: 18px;
}

.gift-card__funded {
  color: #2e6a3d;
  font-weight: 700;
  margin: 18px 0 0;
}

.gift-card__donation-section {
  margin-top: 18px;
}

.gift-card__donation-heading {
  color: #5e493a;
  font-weight: 700;
  margin-bottom: 10px;
}

.gift-card__donation-note {
  color: rgba(94, 73, 58, 0.75);
  margin-bottom: 0;
}

.gift-card__donations {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gift-card__donation {
  align-items: center;
  background: #fff8f3;
  border: 1px solid rgba(94, 73, 58, 0.08);
  border-radius: 14px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px 14px;
}

.gift-card__donation-date {
  color: rgba(94, 73, 58, 0.7);
  font-size: 13px;
  margin-top: 2px;
}

.gift-card__donation-name {
  color: #5e493a;
  font-weight: 700;
  margin-bottom: 2px;
}

.gift-card__remove {
  background: none;
  border: 0;
  color: #a64343;
  font-weight: 700;
  padding: 0;
}

.gift-card__remove:hover,
.gift-card__remove:focus {
  color: #7f2626;
}

@media screen and (max-width: 768px) {
  .reservation-panel {
    padding: 22px;
  }

  .reservation-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .gift-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .reservation-extra-grid {
    grid-template-columns: 1fr;
  }

  .gift-card__media {
    min-height: 220px;
  }
}
