:root {
  --crp-page-bg: #faf9f5;
  --crp-surface: #ffffff;
  --crp-surface-alt: #ebe9dd;
  --crp-primary: #a8a696;
  --crp-primary-soft: #a8a696;
  --crp-text: #2f302b;
  --crp-muted: #68675f;
  --crp-field-bg: #faf9f5;
  --crp-field-border: #d8d5c8;
  --crp-button-text: #2f302b;
  --crp-success-bg: #edf4ec;
  --crp-success-text: #466b57;
  --crp-error-bg: #f9e9e6;
  --crp-error-text: #9b4a43;
}

.crp-reservation-wrap,
.crp-reservation-wrap *,
.crp-reservation-wrap *::before,
.crp-reservation-wrap *::after {
  box-sizing: border-box;
}

/* The shortcode outputs the live form only. The page/left content is built separately in Elementor. */
.crp-reservation-wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  color: var(--crp-text);
  font-family: 'Jost', Arial, sans-serif;
  font-weight: 300;
  line-height: 1.7;
}

.crp-reservation-card {
  width: 100%;
  min-width: 0;
  padding: 42px;
  border: 1px solid var(--crp-field-border);
  border-radius: 4px;
  background: var(--crp-surface);
  box-shadow: 0 16px 45px rgba(56, 52, 44, 0.08);
}

.crp-form-header {
  margin: 0 0 30px;
  text-align: left;
}

.crp-kicker {
  display: block;
  margin: 0 0 12px;
  color: var(--crp-primary-soft);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  line-height: 1.5;
  text-transform: uppercase;
}

.crp-form-header h2 {
  margin: 0 0 8px;
  color: var(--crp-text);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
}

.crp-form-header p {
  margin: 0;
  color: var(--crp-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.crp-policy-notice {
  margin: -8px 0 28px;
  padding: 15px 17px;
  border-left: 3px solid var(--crp-primary);
  background: var(--crp-surface-alt);
  color: var(--crp-muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.crp-policy-notice strong,
.crp-policy-notice span {
  display: block;
}

.crp-policy-notice strong {
  margin-bottom: 3px;
  color: var(--crp-text);
  font-weight: 500;
}

.crp-policy-notice span {
  margin-top: 6px;
}

.crp-policy-notice a {
  color: var(--crp-text);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.crp-booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 21px 18px;
}

.crp-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}

.crp-field-full {
  grid-column: 1 / -1;
}

.crp-field > span,
.crp-location-note > span {
  display: block;
  margin: 0 0 7px;
  color: var(--crp-text);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.crp-reservation-wrap .crp-field input,
.crp-reservation-wrap .crp-field select,
.crp-reservation-wrap .crp-field textarea {
  width: 100%;
  min-height: 49px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--crp-field-border);
  border-radius: 0;
  outline: none;
  background: var(--crp-field-bg);
  color: var(--crp-text);
  font-family: 'Jost', Arial, sans-serif;
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.5;
  box-shadow: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.crp-reservation-wrap .crp-field select {
  cursor: pointer;
}

.crp-reservation-wrap .crp-field select option {
  background: var(--crp-surface);
  color: var(--crp-text);
}

.crp-reservation-wrap .crp-field input:focus,
.crp-reservation-wrap .crp-field select:focus,
.crp-reservation-wrap .crp-field textarea:focus {
  border-color: var(--crp-primary);
  background: var(--crp-surface);
  box-shadow: 0 0 0 3px rgba(95, 107, 81, 0.14);
}

.crp-reservation-wrap .crp-field input::placeholder,
.crp-reservation-wrap .crp-field textarea::placeholder {
  color: #9b958a;
  opacity: 1;
}

.crp-reservation-wrap .crp-field textarea {
  min-height: 125px;
  resize: vertical;
}

.crp-date-shell small,
.crp-time-help,
.crp-location-note small {
  display: block;
  margin-top: 7px;
  color: var(--crp-muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.crp-date-picker {
  cursor: pointer;
}

.crp-time-select:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.crp-time-select.has-error {
  border-color: var(--crp-error-text) !important;
  box-shadow: 0 0 0 3px rgba(155, 74, 67, 0.14) !important;
}

.crp-location-note {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 18px 20px;
  border: 1px solid var(--crp-field-border);
  border-radius: 0;
  background: var(--crp-surface-alt);
}

.crp-location-note strong {
  color: var(--crp-text);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
}

.crp-checkbox-field {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  margin-top: 2px;
}

.crp-reservation-wrap .crp-checkbox-field input[type='checkbox'] {
  width: 17px;
  min-width: 17px;
  height: 17px;
  min-height: 17px;
  flex: 0 0 17px;
  margin: 4px 0 0;
  padding: 0;
  accent-color: var(--crp-primary);
  box-shadow: none;
}

.crp-checkbox-field > span {
  margin: 0;
  color: var(--crp-muted);
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.6;
  text-transform: none;
}

.crp-reservation-wrap .crp-submit {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 14px 32px;
  border: 1px solid var(--crp-primary);
  border-radius: 0;
  background: var(--crp-primary);
  color: var(--crp-button-text);
  cursor: pointer;
  font-family: 'Jost', Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
  box-shadow: none;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.crp-reservation-wrap .crp-submit:hover,
.crp-reservation-wrap .crp-submit:focus {
  border-color: #7f8b6f;
  background: #7f8b6f;
  color: var(--crp-button-text);
  transform: translateY(-1px);
}

.crp-reservation-wrap .crp-submit:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.crp-alert {
  margin: 0 0 24px;
  padding: 14px 16px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.6;
}

.crp-alert-success {
  background: var(--crp-success-bg);
  color: var(--crp-success-text);
}

.crp-alert-error {
  background: var(--crp-error-bg);
  color: var(--crp-error-text);
}

@media (max-width: 767px) {
  .crp-reservation-card {
    padding: 34px 28px;
  }
}

@media (max-width: 560px) {
  .crp-reservation-card {
    padding: 30px 20px;
  }

  .crp-booking-form {
    grid-template-columns: 1fr;
  }

  .crp-field-full,
  .crp-location-note,
  .crp-checkbox-field,
  .crp-submit {
    grid-column: auto;
  }
}
