.rcs-booking-widget {
  --rcs-gold: #bf9e50;
  --rcs-gold-dark: #9d7e34;
  --rcs-reserve-button: #bf9e50;
  --rcs-reserve-button-hover: #9d7e34;
  --rcs-month-color: #bf9e50;
  --rcs-ink: #444;
  --rcs-muted: #777;
  --rcs-line: #e4e0d8;
  --rcs-soft: #faf9f6;
  --rcs-free-bg: #f0f7f1;
  --rcs-free-text: #35683e;
  --rcs-busy-bg: #fbefef;
  --rcs-busy-text: #9a4545;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  color: var(--rcs-ink);
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  box-sizing: border-box;
}

.rcs-booking-widget *,
.rcs-booking-widget *::before,
.rcs-booking-widget *::after {
  box-sizing: border-box;
}

.rcs-calendar-details {
  width: 100%;
  margin: 0;
}

.rcs-calendar-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 18px 22px;
  border: 1px solid var(--rcs-reserve-button);
  border-radius: 2px;
  background: var(--rcs-reserve-button);
  box-shadow: 0 7px 22px rgba(50, 45, 35, 0.09);
  color: #fff;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.rcs-calendar-details > summary::-webkit-details-marker { display: none; }

.rcs-calendar-details > summary:hover {
  border-color: var(--rcs-reserve-button-hover);
  background: var(--rcs-reserve-button-hover);
}

.rcs-calendar-details > summary:focus-visible {
  outline: 2px solid var(--rcs-reserve-button-hover);
  outline-offset: 3px;
}

.rcs-calendar-details .rcs-booking-summary-copy strong {
  color: #fff;
  font-size: 19px;
  font-weight: 600;
}

.rcs-calendar-details .rcs-booking-summary-copy small {
  color: rgba(255, 255, 255, 0.88);
}

.rcs-calendar-details .rcs-booking-summary-icon::before,
.rcs-calendar-details .rcs-booking-summary-icon::after {
  background: #fff;
}

.rcs-calendar-details[open] .rcs-booking-summary-icon::after {
  transform: rotate(0);
}

.rcs-calendar-details[open] > .rcs-calendar-panel {
  animation: rcs-form-reveal 220ms ease-out;
}

.rcs-calendar-panel {
  padding-top: 24px;
}

.rcs-calendars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
}

.rcs-month {
  min-width: 0;
  overflow: hidden;
  padding: 22px 18px 18px;
  border: 1px solid var(--rcs-line);
  border-top: 3px solid var(--rcs-gold);
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(50, 45, 35, 0.055);
}

.rcs-month h3 {
  margin: 0 0 18px !important;
  color: var(--rcs-month-color) !important;
  font-family: "Open Sans", Helvetica, Arial, sans-serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
  text-align: center;
  text-transform: none;
}

.rcs-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  width: 100%;
  min-width: 0;
  text-align: center;
}

.rcs-weekday {
  min-width: 0;
  padding: 2px 0 7px;
  overflow: hidden;
  color: #828282;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.rcs-booking-widget .rcs-grid .rcs-day {
  display: flex;
  min-width: 0;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 5px 2px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  border-radius: 3px;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
}

.rcs-booking-widget .rcs-grid button.rcs-day {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 5px 2px !important;
  border: 1px solid transparent !important;
  border-radius: 3px !important;
  box-shadow: none !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.rcs-booking-widget .rcs-grid button.rcs-day:hover,
.rcs-booking-widget .rcs-grid button.rcs-day:focus-visible {
  border-color: var(--rcs-gold) !important;
  outline: 2px solid rgba(191, 158, 80, 0.22);
  outline-offset: 1px;
  transform: translateY(-1px);
}

.rcs-booking-widget .rcs-grid .rcs-day small {
  display: block;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rcs-booking-widget .rcs-day-free {
  background: var(--rcs-free-bg) !important;
  color: var(--rcs-free-text) !important;
}

.rcs-booking-widget .rcs-grid button.rcs-day-no-arrival {
  background: #ededed !important;
  color: #a0a0a0 !important;
  cursor: not-allowed;
  opacity: 0.85;
}

.rcs-booking-widget .rcs-grid button.rcs-day-no-arrival:hover,
.rcs-booking-widget .rcs-grid button.rcs-day-no-arrival:focus-visible,
.rcs-booking-widget .rcs-grid button.rcs-day-free:disabled:hover,
.rcs-booking-widget .rcs-grid button.rcs-day-free:disabled:focus-visible,
.rcs-booking-widget .rcs-grid button.rcs-day-busy:disabled:hover,
.rcs-booking-widget .rcs-grid button.rcs-day-busy:disabled:focus-visible {
  border-color: transparent !important;
  outline: none;
  transform: none;
}

.rcs-booking-widget .rcs-grid button.rcs-day-free:disabled:not(.rcs-day-no-arrival) {
  cursor: not-allowed;
  opacity: 1;
}

.rcs-booking-widget .rcs-day-busy {
  background: var(--rcs-busy-bg) !important;
  color: var(--rcs-busy-text) !important;
  text-decoration: line-through;
}

.rcs-booking-widget .rcs-grid button.rcs-day-busy:disabled {
  cursor: not-allowed;
  opacity: 1;
}

.rcs-booking-widget .rcs-day-past {
  background: #f7f7f7;
  color: #aaa;
}

.rcs-booking-widget .rcs-grid .rcs-selected-start,
.rcs-booking-widget .rcs-grid .rcs-selected-end {
  background: var(--rcs-gold) !important;
  color: #fff !important;
}

.rcs-booking-widget .rcs-grid .rcs-selected-range {
  background: #eee7d5 !important;
  color: #5f512e !important;
}

.rcs-legend {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 2px 0 4px;
  color: var(--rcs-muted);
  font-size: 12px;
}

.rcs-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.rcs-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.rcs-free { background: #9dc9a5; }
.rcs-no-arrival { background: #b8b8b8; }
.rcs-busy { background: #dda0a0; }

.rcs-booking-details {
  width: 100%;
  margin: 34px 0 0;
  border: 1px solid var(--rcs-line);
  border-top: 3px solid var(--rcs-gold);
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(50, 45, 35, 0.055);
}

.rcs-booking-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  color: var(--rcs-muted);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.rcs-booking-details > summary::-webkit-details-marker { display: none; }

.rcs-booking-details > summary:focus-visible {
  outline: 2px solid var(--rcs-gold);
  outline-offset: 3px;
}

.rcs-booking-summary-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.rcs-booking-summary-copy strong {
  color: var(--rcs-gold);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}

.rcs-booking-summary-copy small {
  color: var(--rcs-muted);
  font-size: 13px;
  line-height: 1.45;
}

.rcs-booking-summary-icon {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

.rcs-booking-summary-icon::before,
.rcs-booking-summary-icon::after {
  position: absolute;
  top: 9px;
  left: 3px;
  width: 14px;
  height: 2px;
  background: var(--rcs-gold);
  content: "";
  transition: transform 180ms ease;
}

.rcs-booking-summary-icon::after { transform: rotate(90deg); }
.rcs-booking-details[open] .rcs-booking-summary-icon::after { transform: rotate(0); }

.rcs-booking-form {
  width: 100%;
  margin: 0;
  padding: 28px 34px 34px;
  border: 0;
  border-top: 1px solid var(--rcs-line);
  background: #fff;
}

.rcs-booking-details[open] > .rcs-booking-form {
  animation: rcs-form-reveal 220ms ease-out;
}

@keyframes rcs-form-reveal {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.rcs-booking-form h3 {
  margin: 0 0 8px !important;
  color: var(--rcs-gold) !important;
  font-family: "Open Sans", Helvetica, Arial, sans-serif !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
}

.rcs-help {
  margin: 0 0 24px;
  color: var(--rcs-muted);
  font-size: 14px;
}

.rcs-stay-hours {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: -8px 0 24px;
  padding: 13px 16px;
  border-left: 3px solid var(--rcs-gold);
  background: #f8f6ef;
  color: var(--rcs-text);
  font-size: 14px;
}

.rcs-stay-hours span {
  display: inline-flex;
  gap: 7px;
}

.rcs-stay-hours strong {
  color: var(--rcs-gold);
  font-weight: 600;
}

.rcs-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.rcs-form-grid label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  color: #555;
  font-size: 13px;
  font-weight: 600;
}

.rcs-booking-widget .rcs-form-grid input,
.rcs-booking-widget .rcs-form-grid textarea {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 11px 13px !important;
  border: 1px solid #d5d2cb !important;
  border-radius: 2px !important;
  background: #fff !important;
  box-shadow: none !important;
  color: var(--rcs-ink) !important;
  font: 400 14px/1.45 "Open Sans", Helvetica, Arial, sans-serif !important;
}

.rcs-booking-widget .rcs-form-grid input {
  min-height: 46px;
}

.rcs-booking-widget .rcs-form-grid textarea {
  min-height: 112px;
  resize: vertical;
}

.rcs-booking-widget .rcs-form-grid input:focus,
.rcs-booking-widget .rcs-form-grid textarea:focus {
  border-color: var(--rcs-gold) !important;
  outline: 2px solid rgba(191, 158, 80, 0.18);
  outline-offset: 0;
}

.rcs-wide { grid-column: 1 / -1; }

.rcs-guest-count {
  margin: 22px 0 0;
  padding: 0;
  border: 0;
}

.rcs-guest-count legend {
  margin: 0 0 5px;
  color: #555;
  font-size: 13px;
  font-weight: 600;
}

.rcs-guest-count > p {
  margin: 0 0 11px;
  color: var(--rcs-muted);
  font-size: 12px;
}

.rcs-guest-count > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rcs-guest-count label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 118px;
  padding: 10px 14px;
  border: 1px solid #d5d2cb;
  border-radius: 2px;
  background: #fff;
  color: #555;
  cursor: pointer;
  font-size: 13px;
}

.rcs-guest-count input {
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  accent-color: var(--rcs-gold);
}

.rcs-guest-count label:has(input:checked) {
  border-color: var(--rcs-gold);
  background: #fcfaf4;
  color: var(--rcs-gold-dark);
}

.rcs-payment-methods {
  margin: 22px 0 0;
  padding: 0;
  border: 0;
}

.rcs-payment-methods legend {
  margin: 0 0 9px;
  color: #555;
  font-size: 13px;
  font-weight: 600;
}

.rcs-payment-methods label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 8px 0;
  padding: 11px 14px;
  border: 1px solid #d5d2cb;
  border-radius: 2px;
  background: #fff;
  color: #555;
  cursor: pointer;
  font-size: 13px;
}

.rcs-payment-methods input {
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  accent-color: var(--rcs-gold);
}

.rcs-payment-methods label:has(input:checked) {
  border-color: var(--rcs-gold);
  background: #fcfaf4;
  color: var(--rcs-gold-dark);
}

.rcs-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 22px 0 8px;
  color: #666;
  font-size: 12px;
  font-weight: 400;
}

.rcs-consent input {
  width: 15px;
  height: 15px;
  margin: 3px 0 0 !important;
  flex: 0 0 auto;
  accent-color: var(--rcs-gold);
}

.rcs-selection-message {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: var(--rcs-gold-dark);
  font-size: 13px;
  font-weight: 600;
}

.rcs-price-summary {
  max-width: 520px;
  margin: 16px 0 20px;
  padding: 14px 16px;
  border: 1px solid #e5dcc5;
  border-radius: 2px;
  background: #fcfaf4;
}

.rcs-price-summary[hidden] { display: none; }

.rcs-price-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 5px 0;
}

.rcs-price-total-row {
  margin-top: 5px;
  padding-top: 10px !important;
  border-top: 1px solid #ddd1b5;
  color: #3f3828;
  font-size: 16px;
}

.rcs-payment-now-row {
  margin-top: 8px;
  padding-top: 12px !important;
  border-top: 2px solid var(--rcs-gold);
  color: var(--rcs-gold-dark);
  font-size: 15px;
  font-weight: 600;
}

.rcs-payment-balance-row {
  color: var(--rcs-muted);
  font-size: 13px;
}

.rcs-payment-balance-row[hidden] { display: none; }

.rcs-payment-note {
  margin: -8px 0 18px;
  color: var(--rcs-muted);
  font-size: 12px;
}

.rcs-manual-payment {
  margin: 20px 0;
  padding: 18px 20px;
  border: 1px solid #e5dcc5;
  border-left: 4px solid var(--rcs-gold);
  border-radius: 2px;
  background: #fcfaf4;
}

.rcs-manual-payment h3 { margin: 0 0 12px; }
.rcs-manual-payment p { margin: 7px 0; }
.rcs-manual-payment code { overflow-wrap: anywhere; }

.rcs-booking-widget .rcs-submit:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.rcs-booking-widget .rcs-submit {
  display: inline-flex;
  min-width: 210px !important;
  min-height: 46px;
  margin: 6px 0 0 !important;
  padding: 12px 24px !important;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rcs-gold) !important;
  border-radius: 2px !important;
  background: var(--rcs-gold) !important;
  box-shadow: none !important;
  color: #fff !important;
  font: 600 13px/1 "Open Sans", Helvetica, Arial, sans-serif !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
}

.rcs-booking-widget .rcs-submit:hover,
.rcs-booking-widget .rcs-submit:focus-visible {
  border-color: var(--rcs-gold-dark) !important;
  background: var(--rcs-gold-dark) !important;
  outline: 2px solid rgba(191, 158, 80, 0.2);
  outline-offset: 2px;
}

.rcs-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.rcs-message {
  margin: 24px 0;
  padding: 13px 15px;
  border-left: 3px solid currentColor;
  border-radius: 2px;
}

.rcs-success { background: #f0f7f1; color: #35683e; }
.rcs-error { background: #fbefef; color: #914343; }

@media (max-width: 960px) {
  .rcs-calendars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .rcs-booking-widget { padding: 0 10px; }
  .rcs-calendars { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .rcs-month { padding: 20px 14px 15px; }
  .rcs-booking-widget .rcs-grid .rcs-day { min-height: 48px; }
  .rcs-calendar-details > summary { padding: 16px 18px; }
  .rcs-calendar-panel { padding-top: 16px; }
  .rcs-booking-details { margin-top: 24px; }
  .rcs-booking-details > summary { padding: 16px 18px; }
  .rcs-booking-form { padding: 24px 18px 26px; }
  .rcs-form-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .rcs-wide { grid-column: auto; }
  .rcs-booking-widget .rcs-submit { min-width: 0 !important; width: 100% !important; }
}

@media (prefers-reduced-motion: reduce) {
  .rcs-calendar-details[open] > .rcs-calendar-panel,
  .rcs-booking-details[open] > .rcs-booking-form { animation: none; }
  .rcs-booking-summary-icon::before,
  .rcs-booking-summary-icon::after { transition: none; }
}

@media (max-width: 380px) {
  .rcs-grid { gap: 3px; }
  .rcs-booking-widget .rcs-grid .rcs-day { min-height: 43px; font-size: 12px; }
  .rcs-booking-widget .rcs-grid .rcs-day small { font-size: 8px; }
}
