

/* =============================================
   SHARED SLIDER CONTROLS 
   ============================================= */
.slider-nav,
.cr-slider-controls,
.hero-slider-controls,
.testimonials-section__controls,
.brands-swiper__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--slider-controls-gap);
}

@media (max-width: 990px) {
  .slider-nav,
  .cr-slider-controls,
  .hero-slider-controls,
  .testimonials-section__controls,
  .brands-swiper__controls {
    margin-top: -50px;
  }
}

.cr-slider-dots,
.hero-slider-dots,
.testimonials-section__pagination,
.brands-swiper__pagination {
  display: flex;
  align-items: center;
  gap: var(--slider-dots-gap);
  width: auto !important;
}

/* ---- Navigation buttons ---- */
.slider-nav__btn,
.cr-slider-nav-btn,
.hero-slider-btn,
.testimonials-section__nav,
.brands-swiper__controls .cr-slider-nav-btn,
.cr-slider-nav-btn.swiper-button-prev,
.cr-slider-nav-btn.swiper-button-next,
.cr-slider-nav-btn.swiper-button-disabled {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  margin: 0;
  margin-top: 0;
  z-index: auto;
  background-image: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--slider-btn-size);
  height: var(--slider-btn-size);
  min-width: var(--slider-btn-size);
  padding: 0;
  border-radius: var(--radius-pill);
  background-color: var(--color-white);
  border: 1px solid var(--color-border-btn);
  box-shadow: var(--shadow-btn);
  color: var(--color-text);
  cursor: pointer;
  flex-shrink: 0;
  opacity: 1;
  pointer-events: auto;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Icon inside the button - Figma sets opacity 50% on the SVG itself */
.slider-nav__btn > svg,
.cr-slider-nav-btn > svg,
.hero-slider-btn > svg,
.testimonials-section__nav > svg {
  width: var(--slider-btn-icon-size);
  height: var(--slider-btn-icon-size);
  opacity: var(--slider-btn-icon-opacity);
  display: block;
}

.slider-nav__btn:hover,
.cr-slider-nav-btn:hover,
.hero-slider-btn:hover,
.testimonials-section__nav:hover,
.cr-slider-nav-btn.swiper-button-prev:hover,
.cr-slider-nav-btn.swiper-button-next:hover {
  background-color: var(--color-bg-light);
  color: var(--color-text);
}

/* Kill Swiper's chevron pseudo-element on every nav we touch */
.slider-nav__btn::after,
.cr-slider-nav-btn::after,
.hero-slider-btn::after,
.testimonials-section__nav::after,
.cr-slider-nav-btn.swiper-button-prev::after,
.cr-slider-nav-btn.swiper-button-next::after,
.swiper-button-prev.cr-slider-nav-btn::after,
.swiper-button-next.cr-slider-nav-btn::after {
  display: none;
  content: none;
}

/* ---- Pagination dots ---- */
.cr-slider-dot,
.cr-slider-dots .swiper-pagination-bullet,
.testimonials-section__pagination .swiper-pagination-bullet,
.brands-swiper__pagination .swiper-pagination-bullet,
.tiktok-section__dots .cr-slider-dot {
  width: var(--slider-dot-size);
  height: var(--slider-dot-size);
  min-width: var(--slider-dot-size);
  border-radius: 50%;
  background-color: var(--color-border);
  opacity: 1;
  margin: 0;
  padding: 0;
  display: inline-block;
  transition: background-color 0.25s ease, width 0.25s ease, border-radius 0.25s ease;
}

.cr-slider-dot--active,
.cr-slider-dots .swiper-pagination-bullet-active,
.testimonials-section__pagination .swiper-pagination-bullet-active,
.brands-swiper__pagination .swiper-pagination-bullet-active,
.tiktok-section__dots .cr-slider-dot--active {
  background-color: var(--color-blue);
  width: var(--slider-dot-active-w);
  border-radius: var(--radius-sm);
}


/* =============================================================
   HERO SECTION — Figma redesign
   ============================================================= */

.hero-section {
  position: relative;
  background-color: var(--color-dark-bg);
  width: 100%;
  min-height: 600px;
  overflow: visible;
}

/* Gradient+blur decoration on bottom-left */
.hero-gradient-blur {
  position: absolute;
  bottom: 20px;         
  left: 0;            
  right: 0;  
  height: 220px;
  filter: blur(26px);
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(90deg, var(--color-dark-bg) 22.64%, rgba(98,102,110,0.69) 77.44%);
}

/* Two-column layout */
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 180px;
  max-width: 1450px;
  margin: 0 auto;
  padding: 58px 16px;
  min-height: 650px;
}

/* ---- LEFT COLUMN ---- */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 690px;
  flex-shrink: 0;
}

/* Hero title */
.hero-title {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 58px;
  line-height: 1.1;
  margin: 0;
  text-transform: capitalize;
}

.hero-title-yellow {
  font-size: 58px;
  color: var(--color-yellow);
}

.hero-title-white {
  font-size: 58px;
  color: var(--color-white);
}

/* Form card — fixed min-height prevents resize on CASCO toggle.
   Width is sized to fit the longest formatted date string across RO/RU/EN/IT
   (large day digit + stacked 3-letter month + 4-digit year + 1px divider +
   time wrap), so .hero-date-display never overflows .hero-datetime-input. */
.hero-form-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 24px;
  width: 440px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 290px;
  overflow: visible;
}

@media (max-width: 1200px){
  .hero-form-card {
    width: 100%;
    max-width: 100%;
  }
}

/* Preserve card dimensions when JS adds/removes the .active class on toggle */
.hero-left > .active,
.hero-left > .hero-form-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 24px;
  width: 440px;
  min-height: 290px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (max-width: 1200px){
  .hero-left > .active,
  .hero-left > .hero-form-card { width: 100%; }
}

.hero-form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-form-label {
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.44;
  margin: 0;
}

/* Date + time combined input row. */
.hero-datetime-input {
  display: flex;
  align-items: center;
  background: var(--color-bg-input);
  border: 1px solid var(--color-border-input);
  border-radius: 8px;
  max-height: 55px;
  overflow: visible;
  position: relative;
}

/* Wrapper for date picker — hidden input overlaid on visible display. */
.hero-date-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  max-height: 55px;
  cursor: pointer;
}

.hero-date-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.hero-date-field:focus {
  outline: none;
  box-shadow: none;
}

/* Visible date display: large day + stacked month/year */
.hero-date-display {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  height: 100%;
  max-height: 55px;
  pointer-events: none;
  user-select: none;
  overflow: hidden;  
  white-space: nowrap;
  min-width: 0;
}

.hero-digit-day {
  font-family: var(--font-secondary);
  font-size: 30px;
  padding: 10px 0;
  font-weight: 400;
  color: var(--color-blue-dark);
  line-height: 1;
  min-width: 50px;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.hero-digit-my {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-digit-month,
.hero-digit-year {
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.25;
}

.hero-datetime-divider {
  width: 1px;
  height: 36px;
  background: var(--color-divider);
  flex-shrink: 0;
}

/* Wrapper for time selector — hidden select overlaid on visible display */
.hero-time-wrap {
  position: relative;
  width: 96px;
  flex-shrink: 0;
  height: 100%;
  max-height: 55px;
  cursor: pointer;
}

.hero-time-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
  appearance: auto;
}

.hero-time-field::-webkit-scrollbar {
  width: 6px;
}

.hero-time-field::-webkit-scrollbar-track {
  background: transparent;
}

.hero-time-field::-webkit-scrollbar-thumb {
  background: var(--color-blue-dark);
  border-radius: 100px;
}


.hero-time-field:focus {
  outline: none;
  box-shadow: none;
}

/* Visible time display: large hour + small minutes */
.hero-time-display {
  display: flex;
  align-items: flex-end;
  gap: 1px;
  padding: 0 10px;
  height: 100%;
  max-height: 55px;
  pointer-events: none;
  user-select: none;
}

.hero-digit-hour {
  font-family: var(--font-secondary);
  font-size: 30px;
  font-weight: 400;
  color: var(--color-blue-dark);
  line-height: 1;
}

.hero-digit-min {
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1;
  padding-bottom: 4px;
}

/* CASCO toggle row */
.hero-casco-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-toggle-switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
}

.hero-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.hero-toggle-slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 100px;
  transition: background 0.25s;
}

.hero-toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--color-white);
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform 0.25s;
  box-shadow: 0 2px 4px rgba(39,39,39,0.1);
}

.hero-toggle-switch input:checked + .hero-toggle-slider {
  background: #34a853;
}

.hero-toggle-switch input:checked + .hero-toggle-slider::before {
  transform: translateX(16px);
}

.hero-casco-label {
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.25;
}

/* Search button */
.hero-form-error {
  font-family: var(--font-secondary);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  color: var(--color-red-dark);
  background: rgba(216, 81, 81, 0.08);
  border: 1px solid var(--color-red-dark);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.hero-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--color-blue-dark);
  color: var(--color-white);
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 18px;
  height: 52px;
  width: 100%;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  line-height: 1.44;
}

.hero-search-btn:hover,
.hero-search-btn:focus {
  background: #03457a;
  color: var(--color-white);
}

.hero-search-btn img {
  display: block;
  flex-shrink: 0;
}

/* ---- RIGHT COLUMN ---- */
.hero-right {
  flex: 1;
  display: flex;
  align-items: flex-start;
  min-width: 0;
}

.hero-car-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

/* Sale badge — positioned over the car */
.hero-sale-badge {
  position: absolute;
  top: 90px;
  left: 8px;
  background: var(--color-yellow);
  border-radius: 8px;
  padding: 16px 4px;
  max-width: 190px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  z-index: 2;
}

.hero-sale-top {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 0 8px;
}

.hero-sale-tag {
  background: var(--color-red-dark);
  color: var(--color-white);
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  text-transform: uppercase;
  padding: 6px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.hero-old-price {
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 16px;
  color: rgba(43,43,43,0.69);
  text-decoration: line-through;
  white-space: nowrap;
}

.hero-current-price {
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0;
  text-align: center;
  line-height: 1;
  margin: 0;
}

.hero-price-value {
  font-size: 34px;
  color: var(--color-red-dark);
  font-weight: 600;
}

.hero-price-per {
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 22px;
  color: var(--color-text);
}

/* Car image */
.hero-car-image-wrap {
  width: 100%;
  max-width: 738px;
  height: 400px;
  position: relative;
  margin-top: 38px;
  z-index: 10;
}

.hero-car-img {
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Slider controls */

.hero-dot {
  width: var(--slider-dot-size);
  height: var(--slider-dot-size);
  border-radius: 50%;
  background: var(--color-dot-on-dark);
  display: block;
  transition: background 0.2s, width 0.25s ease, border-radius 0.25s ease;
}

.hero-dot--active {
  background: var(--color-white);
  width: var(--slider-dot-active-w);
  border-radius: var(--radius-sm);
}

/* ---- SLIDER — translateX track approach ---- */
.hero-slides {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.hero-slides-track {
  display: flex;
  width: 100%;
  will-change: transform;
  cursor: grab;
  user-select: none;
}

.hero-slides-track.is-dragging,
.hero-slides-track.swiper-wrapper.is-dragging {
  cursor: grabbing;
}

/* Every slide takes exactly 100% of the viewport slot */
.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Responsive */
@media (max-width: 1280px) {
  .hero-inner {
    padding: 50px 16px;
    gap: 80px;
  }
}

@media (max-width: 1024px) {
  .hero-inner {
    padding: 50px 16px;
    gap: 40px;
  }
  .hero-left {
    width: 100%;
    max-width: 480px;
  }
  .hero-form-card {
    width: 100%;
  }
  .hero-title {
    font-size: 34px;
    margin: 20px 0;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    padding: 40px 20px;
    gap: 32px;
    min-height: auto;
  }
  .hero-left {
    width: 100%;
    max-width: 100%;
  }
  .hero-form-card {
    width: 100%;
  }
  .hero-title {
    margin: 30px 0 0;
    font-size: 36px;
  }
  .hero-title-yellow {
    font-size: 36px;
  }
  .hero-title-white {
    font-size: 36px;
  }
  .hero-right {
    width: 100%;
  }
  /* On mobile slides stack: badge on top, car image below */
  .hero-slide {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 60px;
  }
  .hero-sale-badge {
    position: static;
    align-self: flex-start;
  }
  .hero-car-image-wrap {
    width: 100%;
    height: 200px;
    margin-top: 0;
    position: relative;
  }
  .hero-car-img {
    position: absolute;
    top: -70px;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

@media (max-width: 480px) {
  .hero-inner { padding: 32px 16px; gap: 24px; }
  .hero-title,
  .hero-title-yellow,
  .hero-title-white { font-size: var(--font-size-3xl); }
  .hero-form-card { padding: 18px; min-height: 0; }
  .hero-sale-badge { padding: 12px 4px; gap: 10px; }
  .hero-price-value { font-size: 28px; }
  .hero-price-per { font-size: 18px; }
  .hero-car-image-wrap { height: 170px; }
  .hero-car-img { top: -50px; }
}

.flatpickr-calendar {
  font-family: var(--font-secondary);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(20, 30, 50, .15);
  border: 1px solid var(--color-border);
  padding: 8px 6px 24px;
  position: absolute !important;
  z-index: 99999 !important;
  transform: none !important;
  margin-top: 0 !important;
}

@media (min-width: 769px) {
  .flatpickr-calendar.multiMonth {
    display: block !important;
    width: auto !important;
    max-width: none !important;
  }
  .flatpickr-calendar {
    padding-bottom: 32px;
  }
}
.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after { border-bottom-color: var(--color-border); }
.flatpickr-months .flatpickr-month {
  color: var(--color-text);
  height: 38px;
  border-radius: 8px 8px 0 0;
}
.flatpickr-current-month {
  font-size: 16px;
  font-weight: 700;
  padding-top: 6px;
}
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
  font-weight: 700;
  color: var(--color-text);
}
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  color: var(--color-blue);
  fill: var(--color-blue);
  padding: 8px;
}
.flatpickr-weekdays { background: transparent; }
span.flatpickr-weekday {
  color: var(--color-text-light);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
}
.flatpickr-day {
  border-radius: 8px;
  font-weight: 500;
  color: var(--color-text);
  max-width: 38px;
  height: 36px;
  line-height: 36px;
}
.flatpickr-day:hover,
.flatpickr-day:focus {
  background: rgba(63, 117, 201, .08);
  border-color: transparent;
}
.flatpickr-day.today {
  border-color: var(--color-blue);
  color: var(--color-blue);
}
.flatpickr-day.today:hover {
  background: var(--color-blue);
  color: #fff;
}
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: #fff;
  box-shadow: none;
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: rgba(120, 120, 120, .35);
}

/* =============================================================================
   Hero with no-slider variant
   ============================================================================= */

.hero-section--no-slider .hero-section {
  min-height: 400px;
  max-height: 450px;
  height: 400px;
}

/* Expand left column to full width */
.hero-section--no-slider .hero-inner {
  gap: 0;
  height: 100%;
}

.hero-section--no-slider .hero-left {
  width: 100%;
  max-width: 100%;
  flex-shrink: 1;
}

.hero-section--no-slider .hero-title {
  text-align: center;
  width: 100%;
}

.hero-section--no-slider .hero-left > .hero-form-card,
.hero-section--no-slider .hero-form-card {
  width: 100%;
  max-width: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: var(--sp-16);
  align-items: end;
}

.hero-section--no-slider .hero-gradient-blur {
    background: radial-gradient(ellipse 55% 60% at 50% 50%, rgba(98, 102, 110, 0.75) 0%, rgba(98, 102, 110, 0.45) 40%, rgba(98, 102, 110, 0.18) 70%, transparent 100%);
    margin: auto;
    width: 100%;
    height: 100%;
}

/* datetime 1 */
.hero-section--no-slider .hero-form-card > .hero-form-group:first-child {
  grid-column: 1;
  grid-row: 1;
}

/* datetime 2 */
.hero-section--no-slider .hero-form-card > .hero-form-group:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

/* search button — FIX B: match datetime input height */
.hero-section--no-slider .hero-form-card > .hero-search-btn {
  grid-column: 3;
  grid-row: 1;
  align-self: end;
  white-space: nowrap;
  max-height: 55px;
  box-sizing: border-box;
}

/* CASCO toggle */
.hero-section--no-slider .hero-form-card > .hero-casco-row {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-content: center;
}

/* validation error */
.hero-section--no-slider .hero-form-card > .hero-form-error {
  grid-column: 1 / -1;
  grid-row: 3;
}

/* Hidden category input — remove from grid flow */
.hero-section--no-slider .hero-form-card > input[type="hidden"] {
  display: none;
}

/* small screens */
@media (max-width: 990px) {
  .hero-section--no-slider .hero-left > .hero-form-card,
  .hero-section--no-slider .hero-form-card {
    grid-template-columns: 1fr;
  }

  .hero-section--no-slider .hero-form-card > .hero-search-btn {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }

  .hero-section--no-slider .hero-form-card > .hero-casco-row {
    grid-row: 3;
  }

  .hero-section--no-slider .hero-form-card > .hero-form-error {
    grid-row: 4;
  }
}

@media (max-width: 768px) {
  .hero-section--no-slider .hero-form-card > .hero-form-group:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .hero-section--no-slider .hero-form-card > .hero-search-btn {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
  }

  .hero-section--no-slider .hero-form-card > .hero-casco-row {
    grid-row: 4;
  }

  .hero-section--no-slider .hero-form-card > .hero-form-error {
    grid-row: 5;
  }
}

/* =============================================================================
   Hero date display — floating range picker
   ============================================================================= */

#bdDisplay,
#rdDisplay {
  pointer-events: auto;
  cursor: pointer;
  transition: box-shadow 0.15s ease;
}

#bdDisplay.is-focused,
#rdDisplay.is-focused {
  box-shadow: inset 0 0 0 2px var(--color-blue);
  border-radius: 6px;
}

.flatpickr-calendar .dayContainer {
  padding-bottom: 10px;
}

.flatpickr-calendar::before {
  content: none !important;
  display: none !important;
}

@media (max-width: 768px) {
  .flatpickr-calendar.open {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: unset !important;
    box-sizing: border-box !important;
    padding: var(--sp-16) !important;
    border-radius: var(--radius-12) var(--radius-12) 0 0 !important;
  }

  .flatpickr-calendar.open .flatpickr-rContainer,
  .flatpickr-calendar.open .flatpickr-days {
    width: 100% !important;
    max-width: 100% !important;
    min-width: unset !important;
    box-sizing: border-box !important;
  }

  .flatpickr-calendar.open .dayContainer {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: unset !important;
  }

  .flatpickr-calendar.open .flatpickr-day {
    width: 100% !important;
    max-width: unset !important;
    flex: unset !important;
    aspect-ratio: 1;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: var(--font-size-sm);
  }

  .flatpickr-calendar.open .flatpickr-weekdays,
  .flatpickr-calendar.open .flatpickr-weekdaycontainer {
    display: block !important;
    width: 100% !important;
  }
  .flatpickr-calendar.open .flatpickr-weekdaycontainer {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
  }

  .flatpickr-calendar.open .flatpickr-weekday {
    text-align: center;
    flex: unset !important;
  }

  .flatpickr-calendar.open .flatpickr-month {
    width: 100% !important;
  }
}
