/*
 Theme Name:   Traveloris - Bricks Child Theme
 Theme URI:    https://traveloris.com/
 Description:  Bricks child theme for Traveloris booking system.
 Author:       Paris Welch
 Author URI:   https://traveloris.com/
 Template:     bricks
 Version:      1.0
 Text Domain:  bricks
*/

body.wp-theme-bricks {
  min-height: 100vh;
}

/* MOBILE MENU */

html {
  overflow-x: hidden;
}

html.mobile-menu-open {
  overflow-y: hidden;
}

@media (min-width: 1025px) {

  .mobile-menu__toggle,
  .mobile-menu {
    display: none !important;
  }
}

.icon-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-toggle .open-icon,
.icon-toggle .close-icon {
  transition: 0.15s ease all;
  pointer-events: none;
  position: absolute;
}

.icon-toggle[aria-expanded="false"] .open-icon {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.15s;
}

.icon-toggle[aria-expanded="false"] .close-icon {
  transform: scale(0);
  transition-delay: 0;
}

.icon-toggle[aria-expanded="true"] .open-icon {
  transform: scale(0);
  transition-delay: 0;
}

.icon-toggle[aria-expanded="true"] .close-icon {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.15s;
}


.mobile-menu__toggle {
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
  z-index: 9999;
  width: 32px;
  height: 32px;
  color: var(--trvlr-primary-color);
}

.mobile-menu__toggle svg {
  width: 26px;
  height: 26px;
}

.mobile-menu__toggle svg path {
  fill: currentColor;
}

/* .mobile-menu__toggle.open {
  position: fixed;
  top: 16px;
  right: 16px;
  color: var(--trvlr-primary-color);
} */

.mobile-menu {
  position: fixed;
  display: flex !important;
  transition: 0.3s ease all;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100dvh;
  max-width: 325px;
  transform: translateX(100%);
  opacity: 0;
  padding: max(10px + var(--header-height), 80px) 10px 16px;
  background: #000;
  z-index: 9998;
  color: #fff;
  font-weight: 700;
}

.mobile-menu__inner {
  height: 100%;
  width: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-menu[open] {
  transform: translateX(0%);
  opacity: 1;
}

@media (max-width: 480px) {
  .mobile-menu {
    max-width: 100vw;
  }
}

.mobile-menu__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
}

.mobile-menu__list--main {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.mobile-menu__list--main>.mobile-menu__item {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.mobile-menu__link,
.mobile-menu__group-title {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  text-decoration: none;
}

.mobile-menu__link--top,
.mobile-menu__group-title {
  padding: 10px 12px;
}

.mobile-menu__group-title {
  gap: 5px;
}

.mobile-menu__chevron {
  width: 10px;
  height: 10px;
  color: var(--trvlr-primary-color);
}

.mobile-menu__chevron path {
  fill: currentColor;
}

.mobile-menu__list--explore {
  margin: 0 0 10px;
  background: #1d1d1d;
}

.mobile-menu__list--explore .mobile-menu__item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu__list--explore .mobile-menu__link {
  min-height: 40px;
  padding: 10px 24px;
  color: var(--trvlr-primary-color);
  font-size: 12px;
  font-weight: 700;
}

.mobile-menu__icon,
.mobile-menu__arrow {
  width: 21px;
  height: 21px;
  min-height: 21px;
  min-width: 21px;
}

.mobile-menu__icon path,
.mobile-menu__arrow path {
  fill: currentColor;
}

.mobile-menu__icon {
  margin-right: 4px;
}

.mobile-menu__arrow {
  margin-left: auto;
}

@media (max-width: 340px) {
  .mobile-menu {
    max-width: 100vw;
    padding-inline: 10px;
  }

  .mobile-menu__link,
  .mobile-menu__group-title,
  .mobile-menu__list--explore .mobile-menu__link {
    font-size: 11px;
  }
}