/*
Theme Name: Festiva ...
*/

/* ---------------------- CALENDARIZAR ---------------------- */
.calendar-container {
  position: fixed;
  top: 0;
  right: 20px;
  z-index: 9999;
  font-family: 'Barlow Condensed', sans-serif;
}

.calendar-btn {
  background-color: #041439;
  color: #fff;
  border: none;
  padding: 16px 22px;
  border-radius: 0 0 12px 12px;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  animation: subtleShake 1s ease-in-out 20s infinite;
}

@keyframes subtleShake {
  0%, 100% { transform: translate(0, 0); }
  2% { transform: translate(-1px, 0); }
  4% { transform: translate(1px, 0); }
  6% { transform: translate(-1px, 0); }
  8% { transform: translate(1px, 0); }
  10% { transform: translate(0, 0); }
}

.calendar-dropdown {
  display: none;
  flex-direction: column;
  background-color: #fff;
  border-radius: 12px;
  margin-top: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  min-width: 200px;
  position: absolute;
  top: 60px;
  right: 0;
  z-index: 9999;
}

.calendar-dropdown.show {
  display: flex;
}

.calendar-dropdown a {
  padding: 14px 18px;
  color: #041439;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  transition: background-color 0.2s;
  border-bottom: 1px solid #eee;
}

.calendar-dropdown a:last-child {
  border-bottom: none;
}

.calendar-dropdown a:hover {
  background-color: #f1f1f1;
}

/* ---------------- DESKTOP HOVER ---------------- */
@media (min-width: 426px) {
  .calendar-container:hover .calendar-dropdown {
    display: flex;
  }
}

/* ---------------- MOBILE FIX ---------------- */
@media (max-width: 425px) {
  .calendar-container {
    top: 20vh;
    right: 12px;
  }

  .calendar-btn {
    padding: 0;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    font-size: 0;
    justify-content: center;
    align-items: center;
    display: flex;
  }

  .calendar-btn i {
    font-size: 24px;
    margin: 0;
  }

  .calendar-label {
    display: none !important;
  }

.calendar-dropdown {
  display: none;
  flex-direction: column;
  top: 64px;
  right: 0;
  min-width: 180px;
  position: absolute;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 9999;
}

  .calendar-dropdown a {
    font-size: 14px;
    padding: 10px 14px;
  }
}

/* ---------------------- THEME OVERRIDES ---------------------- */
@media screen and (max-width: 1200px) {
  #pxl-header-default .pxl-header-main,
  #pxl-header-elementor .pxl-header-main {
    background: var(--purple-grad-2, linear-gradient(180deg, #041439 0%, #002159 100%)) !important;
    position: relative;
  }

  #pxl-header-default #pxl-nav-mobile,
  #pxl-header-elementor #pxl-nav-mobile {
    color: #011b4a !important;
    background: var(--purple-grad-4, linear-gradient(90deg, #d9d9d9 0%, #ffffff 100%)) !important;
  }

  .pxl-nav-mobile-button:before,
  .pxl-nav-mobile-button:after,
  .pxl-nav-mobile-button span {
    background-color: #021a48 !important;
  }

  .pxl-header-menu {
    background: linear-gradient(180deg, #0b2256 0%, #041439 100%) !important;
  }

  .pxl-menu-primary a {
    color: #ffffff;
    font-family: 'Barlow Condensed' !important;
    line-height: 46px !important;
  }

  .pxl-close:before,
  .pxl-close:after {
    background-color: #ffffff !important;
  }
}