/* START_FILE: css/timing.css */

.timing-section {
  background-image: url('../images/bg-block-5.webp') !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
  background-attachment: scroll !important;
  width: 100%;
}

.timing-card-island {
  max-width: 700px !important;
  width: 95% !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
  z-index: 5 !important;
  min-height: 540px !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.timing-island-content {
  width: 80% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding: 45px 0 !important;
  box-sizing: border-box !important;
}

.timing-card-island *, .timing-card-island button {
  color: #4A4A4A !important;
  text-shadow: none !important;
}

.timing-headline-badge {
  padding: 10px 30px !important;
  border-radius: 15px !important;
  margin-bottom: 30px !important;
  display: inline-block !important;
  border: none !important;
  
  background-image: url('../images/bg-block-5.webp') !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  background-position: center center !important;
  background-size: cover !important;
}

.timing-headline-badge h2 {
  font-family: 'Great Vibes', cursive !important;
  font-size: 3rem !important;
  font-weight: 400 !important;
  color: #4A4A4A !important;
  margin-bottom: 0 !important;
  letter-spacing: 0px !important;
  text-transform: none !important;
}

.timing-tabs-wrapper {
  display: flex !important;
  gap: 15px !important;
  margin-bottom: 35px !important;
}

.time-tab-btn {
  background-color: transparent !important;
  border: 1px solid transparent !important;
  padding: 8px 24px !important;
  font-family: 'Alexander', serif !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  border-radius: 30px !important;
  transition: all 0.3s ease !important;
  color: #4A4A4A !important;
  
  /* Подложка кнопок теперь по умолчанию полностью дублирует стиль заголовка */
  background-image: url('../images/bg-block-5.webp') !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  background-position: center center !important;
  background-size: cover !important;
}

.time-tab-btn.active {
  border: 1px solid #4A4A4A !important;
  color: #4A4A4A !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.time-book-arrow {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 60px !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.25s ease !important;
  opacity: 0.25;
}

.prev-arrow { left: 10px !important; }
.next-arrow { right: 10px !important; }

.time-book-arrow:hover {
  opacity: 0.8 !important;
  background-color: rgba(0, 0, 0, 0.02) !important;
}

.arrow-icon-left {
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  border-left: 2px solid #4A4A4A !important;
  border-bottom: 2px solid #4A4A4A !important;
  transform: rotate(45deg) !important;
}

.arrow-icon-right {
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  border-right: 2px solid #4A4A4A !important;
  border-top: 2px solid #4A4A4A !important;
  transform: rotate(45deg) !important;
}

.timing-cards-container {
  position: relative !important;
  width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.timing-slider-track {
  display: flex !important;
  flex-direction: row !important;
  width: 200% !important;
  position: relative !important;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.timing-page-content {
  width: 50% !important;
  flex-shrink: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
  padding: 0 10px !important;
}

.custom-timeline {
  display: flex !important;
  flex-direction: column !important;
  gap: 25px !important;
  position: relative !important;
  text-align: left !important;
  width: 100% !important;
}

.custom-timeline::before {
  content: "";
  position: absolute;
  top: 5px; bottom: 5px; left: 88px;
  width: 1px;
  background-color: rgba(0, 0, 0, 0.1) !important;
  z-index: 1;
}

.custom-timeline div,
.timeline-row,
.timeline-time-cell,
.timeline-dot-cell,
.timeline-text-cell,
.timeline, .timeline-item, .time, .timeline-dot, .time-desc {
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  outline: none !important;
}

.timeline-row::before, .timeline-row::after,
.timeline-time-cell::before, .timeline-time-cell::after,
.timeline-dot-cell::before, .timeline-dot-cell::after,
.timeline-text-cell::before, .timeline-text-cell::after {
  display: none !important;
  content: none !important;
}

.timeline-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  width: 100% !important;
  position: relative;
  z-index: 2;
}

.timeline-time-cell {
  width: 65px !important;
  font-family: 'Alexander', serif !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  text-align: right !important;
  display: block !important;
  color: #4A4A4A !important;
}

.timeline-dot-cell {
  width: 46px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.t-dot {
  width: 9px !important;
  height: 9px !important;
  min-width: 9px !important;
  min-height: 9px !important;
  background-color: #4A4A4A !important;
  border-radius: 50% !important;
  display: block !important;
}

.timeline-text-cell {
  flex: 1 !important;
  font-family: 'Alexander', serif !important;
  font-size: 1.5rem !important;
  line-height: 1.4 !important;
  padding-left: 5px !important;
  display: block !important;
  color: #4A4A4A !important;
}

@media (max-width: 580px) {
  .timing-island-content { width: 88% !important; padding: 35px 0 !important; }
  .time-book-arrow { width: 40px !important; }
  .prev-arrow { left: 0 !important; }
  .next-arrow { right: 0 !important; }
  .timing-card-island { min-height: 480px !important; }
  .timeline-time-cell { width: 55px !important; font-size: 1.5rem !important; color: #4A4A4A !important; }
  .custom-timeline::before { left: 78px; }
  .timeline-text-cell { font-size: 1.5rem !important; color: #4A4A4A !important; }
}

/* END_FILE: css/timing.css */
