.fewo-grid-calendar {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  padding: 18px;
  max-width: 920px;
  margin: 24px auto;
  font-family: Arial, Helvetica, sans-serif;
}

.fewo-grid-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.fewo-grid-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #202020;
}

.fewo-grid-unit {
  margin-top: 4px;
  color: #6b6b6b;
  font-size: 14px;
}

.fewo-grid-actions {
  display: flex;
  gap: 12px;
}

.fewo-arrow-btn {
  text-decoration: none;
  color: #575757;
  font-size: 40px;
  line-height: 1;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fewo-grid-switch {
  margin-bottom: 18px;
}

.fewo-view-switch {
  display: flex;
  gap: 8px;
}

.fewo-view-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  background: #fff;
  color: #444;
}

.fewo-view-pill.active {
  background: #2f2f2f;
  color: #fff;
  border-color: #2f2f2f;
}

.fewo-weekdays,
.fewo-month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.fewo-weekdays {
  margin-bottom: 3px;
}

.fewo-weekday-head {
  text-align: center;
  font-size: 22px;
  font-weight: 500;
  color: #5a5a5a;
  padding: 12px 0 18px;
}

.fewo-day-tile {
  min-height: 78px;
  background: #6aa542;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.fewo-day-tile.status-available { background: #67a542; }
.fewo-day-tile.status-booked { background: #cc4545; }
.fewo-day-tile.status-pending { background: #eeab58; }
.fewo-day-tile.status-special { background: #6a95d2; }

.fewo-day-tile.is-other-month {
  background: #f7f7f7;
  color: transparent;
}

.fewo-day-tile.is-diagonal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.25) 0 49%, transparent 49% 100%);
  pointer-events: none;
}

.fewo-day-number {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.fewo-day-price {
  font-size: 12px;
  line-height: 1;
  opacity: .95;
}

.fewo-grid-legend {
  margin-top: 22px;
  display: flex;
  gap: 16px 30px;
  align-items: center;
  flex-wrap: wrap;
  color: #535a60;
  font-size: 18px;
  font-weight: 600;
}

.fewo-legend-box {
  width: 66px;
  height: 66px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}

.fewo-legend-box.status-available { background: #67a542; }
.fewo-legend-box.status-booked { background: #cc4545; }
.fewo-legend-box.status-pending { background: #eeab58; }

.fewo-week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(100px, 1fr));
  gap: 10px;
}

.fewo-week-card {
  min-height: 120px;
  border-radius: 8px;
  color: #fff;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fewo-week-card.status-available { background: #67a542; }
.fewo-week-card.status-booked { background: #cc4545; }
.fewo-week-card.status-pending { background: #eeab58; }

.fewo-week-name { font-size: 14px; opacity: .9; text-transform: uppercase; }
.fewo-week-date { font-size: 26px; font-weight: 700; }
.fewo-week-price { font-size: 13px; }

.fewo-kalender-empty {
  padding: 1rem;
  background: #f6f7f8;
  border-radius: 8px;
}

@media (max-width: 767px) {
  .fewo-grid-calendar {
    padding: 12px;
  }

  .fewo-grid-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .fewo-weekday-head {
    font-size: 16px;
    padding: 8px 0 10px;
  }

  .fewo-day-tile {
    min-height: 58px;
  }

  .fewo-day-number {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .fewo-day-price {
    font-size: 10px;
  }

  .fewo-week-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

#fewo-kalender {
  scroll-margin-top: 100px;
}
