.section-schedule {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 64px 0 0 0;
  background-color: #f5f0ea;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

.schedule-main-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.schedule-container {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 64px;
  align-items: center;
}

.schedule-calendar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 64px;
  width: 100%;
}

.date-arrows-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.schedule-arrow-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.week-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  gap: 16px;
  height: 44px;
  background-color: white;
  border-radius: 8px;
  padding: 0 16px;

  font-weight: var(--bold);
  font-size: 24px;
  line-height: 100%;
  text-align: center;
  color: #312f30;
}

.week-container span {
  color: #4cbae5;
  font-weight: var(--bold);
  font-size: 24px;
  line-height: 100%;
  text-align: center;
}

.calendar-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 32px;
  align-items: flex-start;
  overflow-x: auto;
  overflow-y: visible;
  padding-bottom: 8px;
}

.dow-container {
  display: flex;
  flex: 0 0 auto;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-inline: auto;
  padding-inline: 24px;
}

.single-dow {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 150px;
  height: 88px;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 8px;
  transition:
    background-color 0.15s ease,
    box-shadow 0.15s ease;
}

.single-dow:focus-visible {
  outline: 2px solid #4cbae5;
  outline-offset: 3px;
}

.dow-name {
  font-weight: var(--medium);
  font-size: 16px;
  line-height: 16px;
  letter-spacing: 0%;
  text-align: center;
  color: #717171;
}

.dow-date {
  font-weight: 800;
  font-size: 32px;
  line-height: 32px;
  text-align: center;
  color: #312f30;
}

.single-dow.active {
  background-color: #312f30;
}

.single-dow.active .dow-name {
  color: #aaaaaa;
}

.single-dow.active .dow-date {
  color: white;
}

.main-calendar {
  --hour-height: 84px;
  display: flex;
  flex: 0 0 auto;
  justify-content: center;
  align-items: flex-start;
  padding-right: 24px;
  background-color: white;
  overflow: visible;
  width: 100%;
}

.time-container {
  position: sticky;
  left: 0;
  z-index: 3;
  flex: 0 0 64px;
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  padding: 56px 32px 56px 24px;
}

.time-slot {
  height: var(--hour-height);
  width: 64px;
  display: flex;
  align-items: flex-start;
  justify-content: center;

  font-weight: var(--medium);
  font-size: 20px;
  line-height: 100%;
  text-align: center;
  color: #81787d;
}

.time-slot:last-child {
  height: 0;
  transform: translateY(-10px);
}

.calendar-view {
  --calendar-hours: 12;
  display: flex;
  align-items: stretch;
  width: 1160px;
  min-width: 1160px;
  padding: 56px 0 56px 0;
}

.day-column {
  position: relative;
  flex: 1 0 0;
  width: 100%;
  padding: 0 8px;
  min-height: calc(var(--hour-height) * var(--calendar-hours));
  gap: 8px;
  flex-direction: column;
  border-left: 1px solid #e6e6e6;
  background-image: linear-gradient(to bottom, #efebe7 1px, transparent 1px);
  background-size: 100% var(--hour-height);
  box-shadow: inset 0 -1px #efebe7;
  display: flex;
}

.day-column:last-child {
  border-right: 1px solid #e6e6e6;
}

.calendar-dow-label {
  position: absolute;
  top: -36px;
  left: 8px;
  right: 8px;
  z-index: 2;
  font-weight: var(--semiBold);
  font-size: 13px;
  line-height: 16px;
  text-align: center;
  color: #81787d;
  pointer-events: none;
}

.schedule-event {
  --event-bg: #f0eee9;
  --event-border: #e3ded7;
  position: absolute;
  z-index: 1;
  top: calc(var(--start) * var(--hour-height));
  left: 8px;
  right: 8px;
  height: calc((var(--duration) * var(--hour-height)) - 8px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 12px;
  overflow: hidden;
  border-radius: 8px;
  background:
    repeating-linear-gradient(120deg,
      rgba(255, 255, 255, 0.28) 0,
      rgba(255, 255, 255, 0.28) 10px,
      rgba(255, 255, 255, 0) 10px,
      rgba(255, 255, 255, 0) 24px),
    var(--event-bg);
}

.schedule-event--free-play {
  --event-bg: #c9f3a5;
  --event-border: #b6e889;
  background: var(--event-bg);
}

.schedule-event--birthday {
  --event-bg: #ffe9c9;
  --event-border: #f7d59d;
}

.schedule-event--private-party {
  --event-bg: #f8bfdd;
  --event-border: #eda2ca;
}

.schedule-event--nameday {
  --event-bg: #c7eef9;
  --event-border: #9eddeb;
}

.schedule-event--pogacha {
  --event-bg: #fbd7bd;
  --event-border: #f1bc93;
}

.schedule-event--newborn {
  --event-bg: #fbd7bd;
  --event-border: #f1bc93;
}

.schedule-event--baptism {
  --event-bg: #dcd5ff;
  --event-border: #c6bbf4;
}

.schedule-event--closed {
  --event-bg: #f1f0ed;
  --event-border: #e2ded8;
}

.schedule-event--closure {
  --event-bg: #f1f0ed;
  --event-border: #e2ded8;
}

.schedule-event--other {
  --event-bg: #eef1f4;
  --event-border: #d8dde3;
}

.schedule-event--compact {
  justify-content: flex-start;
  gap: 6px;
  padding: 10px;
}

.schedule-event--full-day {
  justify-content: center;
}

.schedule-event--full-day .schedule-event-main {
  justify-content: center;
}

.schedule-event-full-day-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
  line-height: 120%;
  color: #312f30;
}

.schedule-event-full-day-text strong {
  font-size: 16px;
  line-height: 120%;
  font-weight: var(--bold);
}

.schedule-event-full-day-text span {
  font-size: 16px;
  line-height: 120%;
  font-weight: var(--medium);
}

.schedule-event-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.schedule-event-title {
  font-weight: var(--semiBold);
  font-size: 16px;
  line-height: 120%;
  color: #312f30;
}

.schedule-event-time {
  font-weight: var(--medium);
  font-size: 16px;
  line-height: 16px;
  color: #717171;
}

.schedule-event--compact .schedule-event-title {
  font-size: 16px;
  line-height: 24px;
  font-weight: var(--semiBold);
}

.schedule-event--compact .schedule-event-time {
  display: none;
}

.schedule-event--compact .schedule-event-note {
  display: none;
}

.schedule-event-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.schedule-event-price {
  width: fit-content;
  padding: 4px;
  border-radius: 4px;
  background-color: #effbe5;
  font-weight: var(--bold);
  font-size: 16px;
  line-height: 120%;
  color: #312f30;
  width: 100%;
}

.schedule-event-note,
.schedule-event-status {
  font-weight: var(--bold);
  font-size: 16px;
  line-height: 120%;
  color: #312f30;
}

.gallery-wave-schedule-top {
  width: 100%;
  margin-top: -300px;
}

.gallery-wave-schedule-bottom {
  rotate: 180deg;
  width: 100%;
  margin-bottom: -70px;
}

.schedule-book-container {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  padding-top: 48px;
  gap: 48px;
}

.schedule-book-heading {
  font-weight: var(--extraBold);
  font-size: 38px;
  line-height: 46px;
  text-align: center;
}

/*
 * КАРТАТА С ЦЕНАТА — 06.08.2026 слезе от въздуха в колоната.
 *
 * Беше `position: absolute` горе вдясно, завъртяна на 20 градуса и наполовина
 * извън екрана. Две неща не бяха наред:
 *
 *   1. Новото календарче застава точно там и двете се блъскаха.
 *   2. Под 1280px картата беше `display: none` — тоест на телефон никой не
 *      виждаше цената. А точно цената е първото, което човек търси.
 *
 * Сега е обикновена карта в лявата колона и се вижда на всяка ширина.
 */
.free-play-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 480px;
  padding: 18px 20px;
  border-radius: 16px;
  background-color: #fdfdfc;
  border: 1px solid #cdcbcc;
  text-align: left;
}

.info-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: var(--semiBold);
  font-size: 18px;
  line-height: 120%;
}

.info-heading img {
  width: 24px;
  height: 24px;
}

/* Връзката към страницата на детския кът — 08.10.2026. Иначе се чете като текст. */
.free-play-text a {
  font-weight: var(--bold);
  color: var(--accent-blue-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1280px) {
  /* .free-play-info вече НЕ се крие тук — виж бележката при самото правило. */

  .schedule-calendar-container {
    align-items: stretch;
    min-width: 0;
  }

  .calendar-container {
    display: block;
    align-self: stretch;
    width: 100%;
    min-width: 0;
    max-width: 100vw;
    overflow-x: auto;
    overflow-y: visible;
  }

  .dow-container {
    width: max-content;
    margin-inline: 0;
    margin-bottom: 32px;
  }

  .main-calendar {
    justify-content: flex-start;
    width: 1304px;
    min-width: 1304px;
    margin-inline: 0;
  }
}

@media (max-width: 700px) {
  .about-text-main-container.index {
    padding-inline: 16px;
  }

  .week-container span {
    display: none;
  }

  .calendar-view {
    padding-top: 32px;
    padding-bottom: 24px;
  }

  .calendar-dow-label {
    top: -26px;
  }

  .main-calendar {
    --hour-height: 61.333px;
    height: 800px;
    padding-right: 16px;

    width: 1264px;
    min-width: 1264px;
  }

  .schedule-event--one-hour .schedule-event-time,
  .schedule-event--one-hour .schedule-event-footer,
  .schedule-event--one-hour .schedule-event-status {
    display: none;
  }

  .schedule-event--free-play.schedule-event--two-hours-or-less:not(.schedule-event--one-hour) .schedule-event-time,
  .schedule-event--free-play.schedule-event--two-hours-or-less:not(.schedule-event--one-hour) .schedule-event-note {
    display: none;
  }

  .schedule-arrow {
    width: 40px;
  }

  .schedule-book-container {
    padding: 0 16px 64px 0;
  }

  .schedule-book-heading {
    font-size: 24px;
    line-height: 32px;
  }

  .gallery-wave-schedule-bottom {
    display: none;
  }

  .time-slot {
    width: fit-content;
    font-size: 16px;
  }

  .time-container {
    flex: unset;
    padding: 32px 16px;
  }
}

@media (max-width: 500px) {
  .date-arrows-container {
    width: 100%;
    padding-inline: 16px;
    justify-content: space-between;
    gap: 16px;
  }

  .week-container {
    font-size: 18px;
    line-height: 100%;
    height: 42px;
  }
}