/*
  Mobile luxury menu polish.
  Shared by live mobile pages.
*/

body.menu-open {
  overflow: hidden;
}

.site-header .hamburger,
.site-header .menu-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  padding: 0;
  border: 1px solid rgba(216, 195, 145, 0.34);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 8%, rgba(255,255,255,0.12), transparent 34%),
    linear-gradient(145deg, rgba(18,15,10,0.78), rgba(5,5,5,0.22));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 14px 34px rgba(0,0,0,0.28);
}

.site-header .hamburger {
  flex-direction: column;
  gap: 5px;
}

.site-header .hamburger span,
.site-header .menu-button .menu-lines > span {
  display: block;
  flex: 0 0 auto;
  width: 18px;
  height: 1px;
  background: rgba(246,239,227,0.84);
}

.site-header .menu-button .menu-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.site-header .hamburger.open,
.site-header .menu-button.open {
  border-color: rgba(216,195,145,0.58);
  background: rgba(8,7,6,0.88);
}

.drawer-overlay {
  background:
    radial-gradient(circle at 72% 28%, rgba(216,195,145,0.12), transparent 36%),
    rgba(0,0,0,0.72) !important;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.drawer {
  width: min(84vw, 390px) !important;
  padding: calc(58px + env(safe-area-inset-top)) 30px calc(34px + env(safe-area-inset-bottom)) !important;
  background:
    radial-gradient(circle at 42% -4%, rgba(216,195,145,0.16), transparent 34%),
    linear-gradient(118deg, rgba(24,20,14,0.97), rgba(8,7,5,0.99) 44%, rgba(2,2,2,0.985)) !important;
  color: rgba(246,239,227,0.84) !important;
  border-left: 1px solid rgba(216,195,145,0.28);
  box-shadow:
    -30px 0 110px rgba(0,0,0,0.56),
    inset 1px 0 0 rgba(255,255,255,0.035) !important;
}

.drawer-top {
  position: relative;
  align-items: flex-start !important;
  margin-bottom: 48px !important;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(216,195,145,0.14);
}

.drawer-mark {
  color: rgba(246,239,227,0.9) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 1.8rem !important;
  font-weight: 300 !important;
  letter-spacing: 0.12em !important;
  text-decoration: none !important;
  text-shadow: 0 16px 44px rgba(0,0,0,0.42);
}

.drawer-top::after {
  content: "The Wedding Directory";
  position: absolute;
  top: 38px;
  left: 0;
  font-size: 0.52rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(216,195,145,0.56);
  white-space: nowrap;
}

.drawer-close {
  position: relative;
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  border: 1px solid rgba(216,195,145,0.24) !important;
  border-radius: 999px;
  background: rgba(255,255,255,0.025) !important;
  color: rgba(246,239,227,0.78) !important;
  font-family: "Jost", sans-serif !important;
  font-size: 0 !important;
}

.drawer-close::before,
.drawer-close::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 21px;
  width: 16px;
  height: 1px;
  background: currentColor;
}

.drawer-close::before {
  transform: rotate(45deg);
}

.drawer-close::after {
  transform: rotate(-45deg);
}

.drawer-links {
  counter-reset: mobile-luxury-nav;
  margin-top: 24px !important;
}

.drawer-links li {
  counter-increment: mobile-luxury-nav;
  border-bottom: 1px solid rgba(216,195,145,0.12) !important;
}

.drawer-links a {
  position: relative;
  display: block;
  min-height: 52px;
  padding: 16px 0 16px 48px !important;
  border-bottom: 0 !important;
  font-family: "Jost", sans-serif !important;
  font-size: 0.76rem !important;
  font-weight: 300 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.3em !important;
  text-transform: uppercase !important;
  color: rgba(246,239,227,0.76) !important;
  text-decoration: none !important;
}

.drawer-links a::before {
  content: counter(mobile-luxury-nav, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  color: rgba(216,195,145,0.5);
}

.drawer-social {
  margin-top: auto !important;
  padding-top: 30px !important;
  border-top: 1px solid rgba(216,195,145,0.12);
}

.drawer-social a,
.drawer-contact {
  color: rgba(246,239,227,0.42) !important;
  font-size: 0.5rem !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

.drawer-contact {
  white-space: nowrap !important;
  line-height: 1.65 !important;
  overflow-wrap: normal !important;
}

body.menu-open .cyd-pill {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateX(-50%) translateY(18px) !important;
}

@media (max-width: 360px) {
  .drawer {
    width: 88vw !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .drawer-links a {
    font-size: 0.7rem !important;
    letter-spacing: 0.24em !important;
  }

  .drawer-contact {
    font-size: 0.46rem !important;
    letter-spacing: 0.08em !important;
  }
}
