:root {
  --reservation-accent: #d7263d;
  --reservation-muted: rgba(255, 255, 255, 0.08);
  --reservation-border: rgba(255, 255, 255, 0.16);
  --reservation-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

body[data-page='reservation'] {
  background: radial-gradient(circle at top, rgba(25, 25, 25, 0.92), #08070c 65%);
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.reservation-main {
  flex: 1;
}

.reservation-hero {
  padding: 4rem 1.5rem 2rem;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.reservation-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 0.75rem;
}

.reservation-hero p {
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.76);
}

.reservation-hero__details {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.reservation-container {
  padding: 0 1.5rem 4rem;
}

.reservation-layout {
  display: grid;
  gap: 2rem;
  max-width: 1240px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .reservation-layout {
    grid-template-columns: minmax(0, 1fr) 380px;
  }
}

.reservation-form {
  display: grid;
  gap: 1.75rem;
}

.reservation-card {
  background: rgba(14, 13, 19, 0.86);
  border: 1px solid var(--reservation-border);
  border-radius: 18px;
  padding: 1.75rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--reservation-shadow);
}

.reservation-card h2 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
  font-family: 'Playfair Display', serif;
}

.reservation-card__subtitle {
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
}

.date-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .date-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.guest-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .guest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-group__label {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.84);
}

.input-group input,
.input-group textarea,
.input-group select {
  appearance: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid transparent;
  border-radius: 12px;
  color: #fff;
  font: inherit;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
  border-color: rgba(215, 38, 61, 0.6);
  box-shadow: 0 0 0 3px rgba(215, 38, 61, 0.22);
  outline: none;
}

.room-selector {
  display: grid;
  gap: 1rem;
}

.room-card {
  border-radius: 14px;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.room-card__radio {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  cursor: pointer;
}

.room-card__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.room-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
}

.room-card__price {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.room-card__details {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.room-card:has(.room-card__radio:checked) {
  border-color: rgba(215, 38, 61, 0.65);
  background: rgba(215, 38, 61, 0.1);
  transform: translateY(-2px);
}

.room-card:focus-within {
  border-color: rgba(215, 38, 61, 0.6);
  box-shadow: 0 0 0 3px rgba(215, 38, 61, 0.22);
}

.options-grid {
  display: grid;
  gap: 1rem;
}

.option-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.option-card__info h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.option-card__info p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.option-card__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.option-card__actions input[type='number'] {
  width: 4.5rem;
  text-align: center;
}

.availability-message {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid transparent;
  font-size: 0.95rem;
}

.availability-message[data-status='available'] {
  border-color: rgba(46, 204, 113, 0.45);
  background: rgba(46, 204, 113, 0.08);
  color: #8cf0b2;
}

.availability-message[data-status='unavailable'] {
  border-color: rgba(231, 76, 60, 0.45);
  background: rgba(231, 76, 60, 0.1);
  color: #ff9b92;
}

.card-element-wrapper {
  padding: 1.25rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-element {
  padding: 0.75rem 0.5rem;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 10px;
}

.card-helper {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.reservation-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.reservation-terms {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.reservation-summary {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.reservation-summary__card {
  background: rgba(14, 13, 19, 0.86);
  border: 1px solid var(--reservation-border);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: var(--reservation-shadow);
}

.summary-list {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}

.summary-line dt {
  color: rgba(255, 255, 255, 0.65);
}

.summary-breakdown {
  display: grid;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  margin-top: 1rem;
}

.summary-breakdown__item {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.75);
}

.summary-breakdown__item span:first-child {
  font-size: 0.9rem;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  margin-top: 1.5rem;
}

.summary-total strong {
  font-size: 1.5rem;
  color: #fff;
}

.summary-options {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.summary-options__empty {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.summary-option {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.reservation-feedback {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  display: none;
}

.reservation-feedback[data-state] {
  display: block;
}

.reservation-feedback[data-state='success'] {
  border-color: rgba(46, 204, 113, 0.4);
  background: rgba(46, 204, 113, 0.1);
  color: #8cf0b2;
}

.reservation-feedback[data-state='error'] {
  border-color: rgba(231, 76, 60, 0.4);
  background: rgba(231, 76, 60, 0.1);
  color: #ff9b92;
}

.stripe-unavailable {
  padding: 1rem;
  border-radius: 12px;
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.4);
  color: #ff9b92;
}

.site-footer {
  text-align: center;
  padding: 2rem 1.5rem 3rem;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer a {
  color: inherit;
}
