body.caf-reserve-open {
  overflow: hidden;
}

.caf-reserve-dialog {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 24px;
  pointer-events: none;
  position: fixed;
  transition: opacity .25s ease, visibility .25s ease;
  visibility: hidden;
  z-index: 1000;
}

.caf-reserve-dialog.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.caf-reserve-dialog__backdrop {
  background: rgba(18, 17, 17, .72);
  inset: 0;
  position: absolute;
}

.caf-reserve-dialog__panel {
  background: var(--bg, #fffcf9);
  border: 1px solid rgba(44, 42, 43, .2);
  border-radius: 4px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
  color: var(--dark, #2c2a2b);
  max-width: 560px;
  padding: 48px;
  position: relative;
  transform: translateY(16px);
  transition: transform .25s ease;
  width: 100%;
  z-index: 1;
}

.caf-reserve-dialog.is-open .caf-reserve-dialog__panel {
  transform: translateY(0);
}

.caf-reserve-dialog__close {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--dark, #2c2a2b);
  cursor: pointer;
  display: flex;
  font-family: Arial, sans-serif;
  font-size: 30px;
  font-weight: 300;
  height: 44px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 14px;
  top: 14px;
  width: 44px;
}

.caf-reserve-dialog__label {
  color: var(--main, #ba693d);
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.caf-reserve-dialog__title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 44px 14px 0;
}

.caf-reserve-dialog__copy {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 30px;
  opacity: .72;
}

.caf-reserve-dialog__options {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.caf-reserve-option {
  align-items: center;
  border: 1px solid var(--secondary, #332d29);
  border-radius: 2px;
  color: var(--dark, #2c2a2b);
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  min-height: 76px;
  padding: 14px 18px;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.caf-reserve-option:hover {
  transform: translateY(-2px);
}

.caf-reserve-option--whatsapp {
  border-color: #34745a;
  color: #285c47;
}

.caf-reserve-option--whatsapp:hover {
  background: #34745a;
  color: #fff;
}

.caf-reserve-option--phone {
  background: var(--secondary, #332d29);
  color: #fff;
}

.caf-reserve-option--phone:hover {
  background: var(--secondary-dark, #121111);
}

.caf-reserve-option svg {
  flex: 0 0 24px;
  height: 24px;
  width: 24px;
}

.caf-reserve-option strong,
.caf-reserve-option small {
  display: block;
}

.caf-reserve-option strong {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
}

.caf-reserve-option small {
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1.4;
  margin-top: 2px;
  opacity: .68;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .caf-reserve-dialog {
    align-items: flex-end;
    padding: 12px;
  }

  .caf-reserve-dialog__panel {
    padding: 34px 24px 24px;
  }

  .caf-reserve-dialog__title {
    font-size: min(8vw, 34px);
  }

  .caf-reserve-dialog__copy {
    margin-bottom: 24px;
  }

  .caf-reserve-dialog__options {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .caf-reserve-dialog,
  .caf-reserve-dialog__panel,
  .caf-reserve-option {
    transition: none;
  }
}
