
/* Использование стандартного шрифта Tilda */
.booking-widget, .booking-widget * {
  font-family: 'TildaSans', Arial, sans-serif;
}

.booking-widget {
  background-color: #F1EADF;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  max-width: 1000px;
  margin: 40px auto;
  color: #333;
}

.booking-widget h3 {
  text-align: center;
  color: #333;
  font-weight: 700;
  margin-bottom: 30px;
}

.main-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 30px;
}

@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
  }
}

.workshop-selection {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.workshop-card {
  flex: 1 1 200px;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.workshop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.workshop-card.selected {
  border-color: #597657;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.workshop-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.workshop-card h4, .workshop-card p {
  padding: 10px 15px;
  margin: 0;
}

.workshop-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.workshop-card p {
  font-size: 14px;
  color: #597657;
  font-weight: 700;
}

.calendar-container {
  flex: 2;
  background-color: #F1EADF;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.calendar-header h4 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.calendar-header button {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #597657;
  transition: color 0.2s ease;
}

.calendar-header button:hover {
  color: #3e523d;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  text-align: center;
}

.day-of-week {
  font-weight: 700;
  color: #597657;
  padding: 5px 0;
}

.calendar-day {
  padding: 15px 0;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.2s ease, transform 0.1s ease;
  font-weight: 600;
}

.calendar-day:not(.disabled):hover {
  background-color: #E2D9CB;
  transform: scale(1.05);
}

.calendar-day.selected {
  background-color: #597657;
  color: #fff;
}

.calendar-day.disabled {
  color: #b0b0b0;
  cursor: not-allowed;
  background-color: #f0f0f0;
}

.time-and-book-container {
  flex: 1;
  background-color: #F1EADF;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
}

.time-slots-wrapper h4, .persons-select-wrapper h4 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.time-slots-wrapper {
  display: flex;
  flex-direction: column;
}

.time-slot-button {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  border: 2px solid #597657;
  background-color: #F1EADF;
  color: #597657;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.time-slot-button:hover:not(.selected) {
  background-color: #597657;
  color: #fff;
}

.time-slot-button.selected {
  background-color: #597657;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.persons-select-wrapper select {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  font-family: 'TildaSans', Arial, sans-serif;
  border: 2px solid #597657;
  border-radius: 8px;
  background-color: #fff;
  color: #333;
  appearance: none;
  cursor: pointer;
}

.book-now-link {
  display: block;
  text-align: center;
  padding: 15px;
  background-color: #597657;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  border-radius: 8px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  margin-top: auto;
}

.book-now-link:not(.disabled):hover {
  background-color: #3e523d;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.book-now-link.disabled {
  background-color: #b0b0b0;
  cursor: not-allowed;
}