/* Crystal live nav — forest bar, compact desktop mega, phone drawer */

:root {
  --chb-nav-forest: #1e2a1c;
  --chb-nav-ink: #2f3d2a;
  --chb-nav-gold: #c9a84c;
  --chb-nav-ivory: #fffcf8;
  --chb-nav-cream: #f7f2eb;
  --chb-nav-copy: #5c6158;
  --chb-nav-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --chb-nav-sans: Montserrat, system-ui, sans-serif;
}

html body.chb-crystal-nav .elementor-element-1182c65,
html body.chb-crystal-nav .elementor-24827 .chb-mega-host,
html body.chb-crystal-nav #chb-mega,
html body.chb-crystal-nav #mobile-menu-wrapper,
html body.chb-crystal-nav #mobile-menu-trigger {
  display: none !important;
}

.chb-nav-burger {
  display: none;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  margin: 0 8px 0 0;
  border: 1px solid #eadfce;
  border-radius: 50%;
  background: #fff;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  padding: 0;
  z-index: 40;
}
.chb-nav-burger span {
  display: block;
  height: 1.5px;
  width: 16px;
  background: var(--chb-nav-ink);
  pointer-events: none;
}
.chb-nav-burger:focus-visible {
  outline: 2px solid var(--chb-nav-gold);
  outline-offset: 2px;
}

.chb-nav {
  position: relative;
  z-index: 4000;
  font-family: var(--chb-nav-sans);
}
.chb-nav-bar {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  background: var(--chb-nav-forest);
  padding: 0 12px;
  border-top: 1px solid var(--chb-nav-gold);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.chb-nav-bar::-webkit-scrollbar { display: none; }

.chb-nav-item {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  background: transparent;
  color: #fffef8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 14px 15px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 -2px 0 transparent;
  flex: 0 0 auto;
}
.chb-nav-item:visited { color: #fffef8; }
.chb-nav-label {
  font-family: var(--chb-nav-serif);
  font-size: clamp(1rem, 0.7vw + 0.85rem, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1;
}
.chb-nav-item.is-active,
.chb-nav-item:hover,
.chb-nav-item:focus-visible {
  box-shadow: inset 0 -2px 0 var(--chb-nav-gold);
  color: #fffef8;
  outline: none;
}
.chb-nav-ico {
  width: 15px;
  height: 15px;
  color: var(--chb-nav-gold);
  flex: 0 0 15px;
}
.chb-nav-ico svg {
  display: block;
  width: 15px;
  height: 15px;
}

.chb-nav-dim {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(12, 14, 10, 0.42);
  z-index: 4005;
}
.chb-nav-mega {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 4010;
  background: var(--chb-nav-cream);
  border-top: 1px solid var(--chb-nav-gold);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.22);
  padding: 0 0 1.15rem;
  max-height: calc(100vh - 160px);
  overflow: auto;
}
.chb-nav-mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}
.chb-nav-panel {
  display: none;
  max-width: 1320px;
  margin: 0 auto;
  padding: 1.7rem 2.2rem 0.4rem;
}
.chb-nav-panel.is-on { display: block; }

.chb-nav-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 1.35rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid #eadfce;
}
.chb-nav-intro .eye {
  margin: 0 0 0.3rem;
  color: var(--chb-nav-gold);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.chb-nav-intro .title {
  margin: 0;
  font-family: var(--chb-nav-serif);
  font-size: clamp(2.1rem, 3vw, 3rem);
  font-weight: 600;
  line-height: 0.95;
  color: var(--chb-nav-ink);
  letter-spacing: -0.03em;
}
.chb-nav-intro .blurb {
  margin: 0.5rem 0 0;
  max-width: 30rem;
  color: var(--chb-nav-copy);
  font-size: 0.92rem;
  line-height: 1.55;
}
.chb-nav-intro .cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  background: var(--chb-nav-forest);
  color: #fffef8 !important;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.chb-nav-intro .cta:hover { background: #2a3826; }

.chb-nav-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.chb-nav-cards .card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--chb-nav-ink);
  background: var(--chb-nav-ivory);
  border: 1px solid #eadfce;
  overflow: hidden;
  min-height: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.chb-nav-cards .card:hover,
.chb-nav-cards .card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(30, 42, 28, 0.1);
  outline: none;
}
.chb-nav-cards .pic {
  display: block;
  height: 168px;
  overflow: hidden;
  background: #fff;
  padding: 8px;
}
.chb-nav-cards .pic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.chb-nav-cards .name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 12px 12px 14px;
  font-family: var(--chb-nav-serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--chb-nav-ink);
}

.chb-nav-drawer {
  position: fixed;
  inset: 0;
  width: 100%;
  background: var(--chb-nav-cream);
  z-index: 120;
  overflow: auto;
  padding: 12px 0 64px;
  -webkit-overflow-scrolling: touch;
}
.chb-nav-drawer[hidden] { display: none !important; }
.chb-nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px 16px;
  border-bottom: 1px solid #eadfce;
  position: sticky;
  top: 0;
  background: var(--chb-nav-cream);
  z-index: 2;
}
.chb-nav-drawer-head img { height: 52px; width: auto; display: block; }
.chb-nav-close {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #eadfce;
  background: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  color: var(--chb-nav-ink);
  -webkit-appearance: none;
  appearance: none;
}
.chb-nav-kicker {
  margin: 26px 22px 8px;
  color: var(--chb-nav-gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.chb-nav-drawer details {
  border-bottom: 1px solid #eadfce;
  margin: 0 8px;
}
.chb-nav-drawer summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 12px 16px;
  cursor: pointer;
  font-family: var(--chb-nav-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--chb-nav-ink);
}
.chb-nav-drawer summary::-webkit-details-marker,
.chb-nav-drawer summary::marker { display: none; content: none; }
.chb-nav-drawer summary::after {
  content: "";
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #2f3d2a;
  border-bottom: 1.5px solid #2f3d2a;
  transform: rotate(45deg);
  flex: 0 0 8px;
}
.chb-nav-drawer details[open] summary::after {
  transform: rotate(-135deg);
}
.chb-nav-drawer .sub {
  padding: 0 16px 14px 46px;
}
.chb-nav-drawer .sub a {
  display: block;
  padding: 11px 0;
  color: #4a5248;
  text-decoration: none;
  font-size: 1.02rem;
  min-height: 44px;
}
.chb-nav-drawer .sub a.all {
  font-weight: 600;
  color: var(--chb-nav-ink);
}
.chb-nav-more {
  display: block;
  padding: 18px 24px;
  color: var(--chb-nav-ink);
  text-decoration: none;
  font-family: var(--chb-nav-serif);
  font-size: 1.4rem;
  font-weight: 600;
  border-bottom: 1px solid #eadfce;
  min-height: 52px;
}

html body.chb-nav-lock {
  overflow: hidden !important;
}
html body.chb-nav-lock #cfw-side-cart-floating-button,
html body.chb-nav-lock .cfw-side-cart-floating-button-anchor,
html body.chb-nav-lock .cfw-side-cart-open-trigger {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html body.chb-crystal-nav .elementor-location-header {
  position: relative;
  z-index: 30;
}

@media (min-width: 1025px) {
  .chb-nav-bar {
    overflow: visible;
  }
  .chb-nav-mega {
    overflow: visible;
    max-height: none;
  }
  .chb-nav-panel.is-on {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding: 1.15rem 2rem 0.15rem;
  }
  .chb-nav-intro {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0;
    padding: 0.15rem 0 0;
    border: 0;
    gap: 0;
  }
  .chb-nav-intro .title {
    font-size: clamp(1.65rem, 2vw, 2.2rem);
  }
  .chb-nav-intro .blurb {
    font-size: 0.86rem;
    max-width: 18rem;
  }
  .chb-nav-intro .cta {
    margin-top: 1rem;
    min-height: 42px;
    padding: 0 18px;
  }
  .chb-nav-cards {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
  }
  .chb-nav-cards .card:nth-child(n+7) { display: none; }
  .chb-nav-cards .pic { height: 108px; padding: 6px; }
  .chb-nav-cards .name {
    font-size: 0.95rem;
    padding: 9px 9px 11px;
    min-height: 3.1em;
  }

  html body.chb-crystal-nav .elementor-24827 .elementor-widget-theme-site-logo,
  html body.chb-crystal-nav .elementor-24827 .elementor-element-16dc0d3,
  html body.chb-crystal-nav .elementor-24827 .elementor-element-75d1706 {
    padding: 12px 22px 12px 32px !important;
  }
  html body.chb-crystal-nav .elementor-24827 .elementor-element-cf3056e {
    padding-left: 12px !important;
    padding-right: 20px !important;
  }

  .chb-nav-drawer { display: none !important; }
  .chb-nav-burger { display: none !important; }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .chb-nav-item { padding: 14px 9px 13px; gap: 6px; }
  .chb-nav-label { font-size: 1rem; }
  .chb-nav-panel.is-on {
    grid-template-columns: 188px minmax(0, 1fr);
    gap: 16px;
    padding: 1rem 1.15rem 0.1rem;
  }
  .chb-nav-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .chb-nav-cards .card:nth-child(n+5) { display: none; }
  .chb-nav-cards .pic { height: 100px; }
}

@media (max-width: 1024px) {
  html body.chb-crystal-nav .elementor-24827 .elementor-widget-theme-site-logo,
  html body.chb-crystal-nav .elementor-24827 .elementor-element-75d1706 {
    padding: 8px 10px !important;
    margin: 0 6px !important;
  }
  html body.chb-crystal-nav.theme-bacola .elementor-location-header .elementor-24827 .elementor-widget-theme-site-logo img,
  html body.chb-crystal-nav.theme-bacola .elementor-location-header .elementor-24827 .elementor-element-75d1706 img,
  html body.chb-crystal-nav .elementor-24827 .elementor-widget-theme-site-logo img,
  html body.chb-crystal-nav .elementor-24827 .elementor-element-75d1706 img {
    width: 100px !important;
    height: 46px !important;
    max-width: 100px !important;
    max-height: 46px !important;
  }
  .chb-nav-bar,
  .chb-nav-mega,
  .chb-nav-dim { display: none !important; }
  html body.chb-crystal-nav .chb-nav-burger {
    display: flex !important;
    position: absolute !important;
    top: 12px !important;
    left: 10px !important;
    right: auto !important;
    z-index: 90 !important;
    margin: 0 !important;
  }
  html body.chb-crystal-nav .elementor-24827 .elementor-element-cf3056e,
  html body.chb-crystal-nav .elementor-location-header .elementor-element-cf3056e {
    padding-left: 58px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chb-nav-cards .card { transition: none; }
}
