/*!
Theme Name: Villoz Child theme
Theme URI: https://bracketweb.com/villozwp/
Template: villoz
Author: Layerdrops
Author URI: https://themeforest.net/user/Layerdrops
Description: This is a Child theme for Villoz WordPress theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: villoz-child
*/

/* Login/Register page fixes */
.login-page__form-input-box input[type="text"],
.login-page__form-input-box input[type="email"],
.login-page__form-input-box input[type="password"] {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--villoz-border-color, #d6e2f0);
  border-radius: 14px;
  background-color: #f7fbff;
  padding: 0 20px;
  color: var(--villoz-black, #0f172a);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.login-page__form-input-box input[type="text"]:focus,
.login-page__form-input-box input[type="email"]:focus,
.login-page__form-input-box input[type="password"]:focus {
  border-color: var(--villoz-base, #537eac);
  box-shadow: 0 0 0 4px rgba(83, 126, 172, 0.12);
  background-color: #ffffff;
}

.login-page__form {
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(16, 38, 66, 0.08);
}

.login-page__wrap__title {
  margin-bottom: 24px;
}

.login-page__form-btn-box .villoz-btn {
  min-width: 180px;
}

.login-page__form-forgot-password a,
.login-page__checked-box label a {
  color: var(--villoz-base, #537eac);
}

@media (max-width: 767px) {
  .login-page__form-btn-box .villoz-btn {
    width: 100%;
  }
}

/* Header contrast on bright hero sections */
.single-to_book .main-header,
.home .main-header {
  z-index: 100;
}

.single-to_book .topbar-one,
.home .topbar-one {
  background: rgba(19, 39, 66, 0.78);
  backdrop-filter: blur(10px);
}

.single-to_book .topbar-one__info,
.single-to_book .topbar-one__info a,
.single-to_book .topbar-one__menu a,
.single-to_book .topbar-one__social a,
.home .topbar-one__info,
.home .topbar-one__info a,
.home .topbar-one__menu a,
.home .topbar-one__social a {
  color: rgba(255, 255, 255, 0.95);
}

.single-to_book .main-header__bottom,
.home .main-header__bottom {
  border-bottom-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(19, 39, 66, 0.72) 0%, rgba(19, 39, 66, 0.54) 100%);
  backdrop-filter: blur(12px);
}

.single-to_book .main-menu .main-menu__list > li > a,
.single-to_book .main-header__cart,
.single-to_book .main-header__search,
.single-to_book .mobile-nav__btn span,
.home .main-menu .main-menu__list > li > a,
.home .main-header__cart,
.home .main-header__search,
.home .mobile-nav__btn span {
  color: #fff;
}

.single-to_book .main-menu .main-menu__list > li > a,
.single-to_book .main-header__cart,
.single-to_book .main-header__search,
.single-to_book .main-header__btn,
.single-to_book .topbar-one__info,
.single-to_book .topbar-one__menu a,
.single-to_book .topbar-one__social a,
.home .main-menu .main-menu__list > li > a,
.home .main-header__cart,
.home .main-header__search,
.home .main-header__btn,
.home .topbar-one__info,
.home .topbar-one__menu a,
.home .topbar-one__social a {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}

.single-to_book .main-menu .main-menu__list > li.current > a,
.single-to_book .main-menu .main-menu__list > li:hover > a,
.single-to_book .main-header__cart:hover,
.single-to_book .main-header__search:hover,
.single-to_book .topbar-one__menu a:hover,
.single-to_book .topbar-one__social a:hover,
.home .main-menu .main-menu__list > li.current > a,
.home .main-menu .main-menu__list > li:hover > a,
.home .main-header__cart:hover,
.home .main-header__search:hover,
.home .topbar-one__menu a:hover,
.home .topbar-one__social a:hover {
  color: #d9e8fb;
}

.single-to_book .main-header__search,
.home .main-header__search {
  border-left-color: rgba(255, 255, 255, 0.22);
}

.single-to_book .main-header__btn,
.home .main-header__btn {
  border-color: rgba(255, 255, 255, 0.28);
}

.single-to_book .main-header__btn > span,
.home .main-header__btn > span {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.single-to_book .main-header__btn:hover,
.home .main-header__btn:hover {
  border-color: rgba(217, 232, 251, 0.85);
}

.single-to_book .sticky-header--cloned,
.single-to_book .sticky-header--cloned.active,
.home .sticky-header--cloned,
.home .sticky-header--cloned.active {
  background: rgba(19, 39, 66, 0.96);
}

@media (max-width: 1199px) {
  .single-to_book .main-header__bottom,
  .home .main-header__bottom {
    background: rgba(19, 39, 66, 0.86);
  }
}

/* Homepage hero search dropdown visibility */
.home .banner-form,
.home .banner-form__position,
.home .banner-form__wrapper,
.home .banner-form__wrapper .row,
.home .banner-form__wrapper .row > div,
.home .banner-form__control,
.home .banner-form__control .bootstrap-select {
  overflow: visible !important;
}

.home .banner-form__position {
  z-index: 20;
}

.home .banner-form__wrapper {
  position: relative;
  z-index: 21;
}

.home .banner-form__control .bootstrap-select > .dropdown-toggle,
.home .banner-form__control .bootstrap-select .dropdown-menu,
.home .banner-form__control .bootstrap-select .dropdown-menu .inner,
.home .banner-form__control .bootstrap-select .dropdown-menu .dropdown-menu {
  z-index: 22;
}

.home .banner-form__control .bootstrap-select .dropdown-menu.show {
  z-index: 2000 !important;
}

/* Property booking calendar cleanup */
.single-to_book .villa-details-three__content__title,
.single-to_book .villa-details-sidebar__title {
  letter-spacing: -0.02em;
}

.single-to_book .box-content #av-cal {
  margin-top: 18px;
  padding: 22px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5fd 100%);
  border: 1px solid #d7e4f2;
  border-radius: 24px;
  box-shadow: 0 20px 44px rgba(16, 38, 66, 0.08);
}

.single-to_book #av-cal .cal-week-names {
  gap: 6px;
  margin-bottom: 8px;
}

.single-to_book #av-cal .cal-week-name {
  border: 0;
  border-radius: 12px 12px 0 0;
  background: #dbe8f7;
  color: #36526f;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 4px;
}

.single-to_book #av-cal .cal-month-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 10px;
  padding: 14px 18px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #537eac 0%, #2f5f95 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.single-to_book #av-cal .cal-month-prev,
.single-to_book #av-cal .cal-month-next {
  float: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.single-to_book #av-cal .cal-month-prev:hover,
.single-to_book #av-cal .cal-month-next:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.single-to_book #av-cal .cal-dates-block {
  gap: 6px;
}

.single-to_book #av-cal .cal-cell {
  
  min-height: 84px;
  padding: 10px 8px;
  border: 1px solid #d7e4f2;
  border-radius: 16px;
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.single-to_book #av-cal .cal-cell:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(16, 38, 66, 0.08);
}

.single-to_book #av-cal .cal-cell .cal-cell-date {
  color: #16324f;
  font-size: 16px;
  font-weight: 700;
}

.single-to_book #av-cal .cal-cell .cal-cell-pricefrom {
  margin-top: 8px;
  color: #537eac;
  font-size: 12px;
  font-weight: 700;
}

.single-to_book #av-cal .cal-cell.cal-cell-active,
.single-to_book #av-cal .cal-cell.cal-cell-disabled-first,
.single-to_book #av-cal .cal-cell.cal-cell-disabled-last {
  background: linear-gradient(180deg, #fefefe 0%, #f5f9fe 100%);
  border-color: #b8d0ea;
}

.single-to_book #av-cal .cal-cell.cal-cell-active.cal-cell-selected,
.single-to_book #av-cal .cal-cell.cal-cell-disabled-first.cal-cell-selected {
  background: linear-gradient(135deg, #537eac 0%, #2f5f95 100%);
  border-color: #2f5f95;
  box-shadow: 0 14px 28px rgba(47, 95, 149, 0.22);
}

.single-to_book #av-cal .cal-cell.cal-cell-active.cal-cell-selected .cal-cell-date,
.single-to_book #av-cal .cal-cell.cal-cell-active.cal-cell-selected .cal-cell-pricefrom,
.single-to_book #av-cal .cal-cell.cal-cell-disabled-first.cal-cell-selected .cal-cell-date,
.single-to_book #av-cal .cal-cell.cal-cell-disabled-first.cal-cell-selected .cal-cell-pricefrom {
  color: #fff;
}

.single-to_book #av-cal .cal-cell.cal-cell-disabled,
.single-to_book #av-cal .cal-cell.cal-cell-empty {
  background: #f4f7fa;
  border-color: #e5edf5;
  opacity: 0.72;
}

.single-to_book #av-cal .cal-cell.cal-cell-disabled .cal-cell-date,
.single-to_book #av-cal .cal-cell.cal-cell-empty .cal-cell-date {
  color: #9aaabd;
}

.single-to_book #av-cal .view-rate-details,
.single-to_book #av-cal .cal-cell:hover .view-rate-details {
  display: none !important;
}

.single-to_book #booking_form_block {
  padding: 24px;
  background: #fff;
  border: 1px solid #d7e4f2;
  border-radius: 24px;
  box-shadow: 0 20px 44px rgba(16, 38, 66, 0.08);
}

.single-to_book #booking_form_block .input_group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.single-to_book .booking-form-block {
  display: block;
  margin: 0;
  padding: 0;
}

.single-to_book .booking_form_input_label {
  margin-bottom: 8px;
  color: #16324f;
  font-size: 14px;
  font-weight: 700;
}

.single-to_book .booking-form-block input[type="text"].booking_date,
.single-to_book .input_select_field .input_select_input,
.single-to_book .booking-form-block select {
  width: 100%;
  height: 54px;
  border: 1px solid #d7e4f2;
  border-radius: 16px;
  background: #f8fbff;
  padding: 0 16px;
  color: #16324f;
  box-shadow: none;
}

.single-to_book .booking-form-block input[type="text"].booking_date:focus,
.single-to_book .booking-form-block select:focus {
  border-color: #537eac;
  box-shadow: 0 0 0 4px rgba(83, 126, 172, 0.12);
  background: #fff;
}

.single-to_book #booking-guests-result {
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid #d7e4f2;
  border-radius: 16px;
  background: #f8fbff;
  color: #4d657f;
  justify-content: flex-start;
}

.single-to_book #total_group {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e4edf6;
}

.single-to_book #booking_form_total .currency_amount {
  color: #16324f;
  font-size: 28px;
  font-weight: 800;
}

.single-to_book .submit_group {
  margin: 22px 0 0;
}

.single-to_book .booking_form_submit {
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #537eac 0%, #2f5f95 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(47, 95, 149, 0.22);
}

.single-to_book .villa-details-sidebar__booking {
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, #f7fbff 0%, #edf4fb 100%);
  box-shadow: 0 24px 48px rgba(16, 38, 66, 0.12);
}

.single-to_book .villa-details-sidebar__booking__title {
  margin: 0;
  padding: 24px 28px;
  background: #183153;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.single-to_book .villa-details-sidebar__form {
  padding: 22px;
}

.single-to_book .villa-details-sidebar__booking #booking_form_block {
  padding: 22px;
  border-radius: 24px;
}

.single-to_book .villa-details-sidebar__booking #booking_form_block .input_group {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}

.single-to_book .villa-details-sidebar__booking .booking-date-block {
  min-width: 0;
}

.single-to_book .villa-details-sidebar__booking .booking-guests-block {
  grid-column: 1 / -1;
}

.single-to_book .villa-details-sidebar__booking #booking-guests-result {
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.single-to_book .villa-details-sidebar__booking #booking-guests-result .select_guests_block {
  width: 100%;
  margin: 0;
}

.single-to_book .villa-details-sidebar__booking #booking-guests-result .input_select_field {
  width: 100%;
}

.single-to_book .villa-details-sidebar__booking #booking-guests-result .input_select_title {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  border: 1px solid #d7e4f2;
  border-radius: 16px;
  background: #f8fbff;
  padding: 12px 14px;
}

.single-to_book .villa-details-sidebar__booking #booking-guests-result .input_select_title > div {
  min-width: 0;
}

.single-to_book .villa-details-sidebar__booking #booking-guests-result .input_select_title_value {
  color: #16324f;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  white-space: normal;
  word-break: break-word;
}

.single-to_book .villa-details-sidebar__booking #booking-guests-result .input_select_wrapper {
  position: relative;
  width: 100%;
  min-width: 0;
}

.single-to_book .villa-details-sidebar__booking #booking-guests-result .input_select_input {
  width: 100%;
  height: 48px;
  padding: 0 36px 0 14px;
  border-radius: 14px;
  background: #fff;
  text-align: left;
  font-weight: 700;
}

.single-to_book .villa-details-sidebar__booking #booking-guests-result .input_select_wrapper i,
.single-to_book .villa-details-sidebar__booking #booking-guests-result .input_select_wrapper svg {
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.single-to_book .villa-details-sidebar__booking #total_group,
.single-to_book .villa-details-sidebar__booking #error_group {
  margin-left: 0;
  margin-right: 0;
}

.single-to_book .villa-details-sidebar__booking .submit_group {
  justify-content: stretch;
}

.single-to_book .villa-details-sidebar__booking .booking_form_submit {
  width: 100%;
}

.single-to_book .villoz-booking-breakdown {
  width: 100%;
  margin-top: 10px;
}

.single-to_book .villoz-booking-breakdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #537eac;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.single-to_book .villoz-booking-breakdown__toggle:hover {
  color: #2f5f95;
}

.single-to_book .villoz-booking-breakdown__panel {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #d7e4f2;
  border-radius: 16px;
  background: #f8fbff;
}

.single-to_book .villoz-booking-breakdown__rows {
  display: grid;
  gap: 10px;
}

.single-to_book .villoz-booking-breakdown__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #36526f;
  font-size: 14px;
  line-height: 1.45;
}

.single-to_book .villoz-booking-breakdown__row strong {
  color: #16324f;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.single-to_book .villoz-booking-breakdown__row--subtotal {
  padding-top: 10px;
  border-top: 1px solid #d7e4f2;
}

.single-to_book .villoz-booking-breakdown__row--total {
  padding-top: 10px;
  border-top: 1px solid #d7e4f2;
  color: #16324f;
  font-weight: 700;
}

.single-to_book .villoz-booking-breakdown__row--total strong {
  color: #183153;
  font-size: 16px;
}

@media (max-width: 1024px) {
  .single-to_book .villa-details-sidebar__booking #booking_form_block .input_group {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .single-to_book .box-content #av-cal,
  .single-to_book #booking_form_block {
    padding: 16px;
    border-radius: 18px;
  }

  .single-to_book #booking_form_block .input_group {
    grid-template-columns: 1fr;
  }

  .single-to_book #av-cal .cal-cell {
    min-height: 70px;
    padding: 8px 4px;
    border-radius: 12px;
  }

  .single-to_book #av-cal .cal-cell .cal-cell-pricefrom {
    font-size: 11px;
  }

  .single-to_book .villa-details-sidebar__booking__title {
    padding: 20px 22px;
    font-size: 20px;
  }

  .single-to_book .villa-details-sidebar__form,
  .single-to_book .villa-details-sidebar__booking #booking_form_block {
    padding: 16px;
  }

  .single-to_book .villoz-booking-breakdown__row {
    align-items: flex-start;
    font-size: 13px;
  }

  .single-to_book .villoz-booking-breakdown__row strong {
    max-width: 45%;
    white-space: normal;
  }
}
