/* 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: 2px;
  background: var(--chb-nav-forest);
  padding: 0 16px;
  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: 15px 15px 14px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 -2px 0 transparent;
  flex: 0 0 auto;
  transition: box-shadow 0.16s ease;
}
.chb-nav-item:visited { color: #fffef8; }
.chb-nav-label {
  font-family: var(--chb-nav-serif);
  font-size: clamp(1.02rem, 0.55vw + 0.9rem, 1.18rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  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: 14px;
  height: 14px;
  color: var(--chb-nav-gold);
  flex: 0 0 14px;
  opacity: 0.92;
}
.chb-nav-ico svg {
  display: block;
  width: 14px;
  height: 14px;
}

.chb-nav-dim {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(14, 16, 12, 0.46);
  z-index: 3500;
}
.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 24px 48px rgba(20, 24, 16, 0.22);
  padding: 0 0 1.25rem;
  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: 1280px;
  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.35rem;
  color: var(--chb-nav-gold);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  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: 44px;
  padding: 0 20px;
  background: var(--chb-nav-forest);
  color: #fffef8 !important;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  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 #e4d9c8;
  border-radius: 10px;
  overflow: hidden;
  min-height: 0;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.chb-nav-cards .card:hover,
.chb-nav-cards .card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--chb-nav-gold);
  box-shadow: 0 10px 22px rgba(30, 42, 28, 0.1);
  outline: none;
}
.chb-nav-cards .pic {
  display: block;
  height: 168px;
  overflow: hidden;
  background: #fbf7f1;
  padding: 10px;
}
.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: 11px 12px 13px;
  font-family: var(--chb-nav-serif);
  font-size: 1.02rem;
  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: 8px 0 72px;
  -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: 10px 18px 14px;
  border-bottom: 1px solid #eadfce;
  position: sticky;
  top: 0;
  background: var(--chb-nav-cream);
  z-index: 2;
}
.chb-nav-drawer-head img { height: 48px; width: auto; display: block; }
.chb-nav-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #eadfce;
  background: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--chb-nav-ink);
  -webkit-appearance: none;
  appearance: none;
}
.chb-nav-kicker {
  margin: 22px 22px 6px;
  color: var(--chb-nav-gold);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.chb-nav-drawer details {
  border-bottom: 1px solid #eadfce;
  margin: 0 12px;
}
.chb-nav-drawer details[open] {
  background: #fbf7f1;
  border-radius: 0 0 8px 8px;
}
.chb-nav-drawer summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 12px 14px;
  cursor: pointer;
  font-family: var(--chb-nav-serif);
  font-size: 1.48rem;
  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 16px 44px;
}
.chb-nav-drawer .sub a {
  display: block;
  padding: 10px 0;
  color: #4a5248;
  text-decoration: none;
  font-size: 1rem;
  min-height: 44px;
  border-bottom: 1px solid #f0e8dc;
}
.chb-nav-drawer .sub a:last-child { border-bottom: 0; }
.chb-nav-drawer .sub a.all {
  font-weight: 600;
  color: var(--chb-nav-ink);
  padding-top: 14px;
}
.chb-nav-more {
  display: block;
  padding: 16px 24px;
  color: var(--chb-nav-ink);
  text-decoration: none;
  font-family: var(--chb-nav-serif);
  font-size: 1.32rem;
  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;
}
html body.chb-cart-open .elementor-location-header,
html body.chb-crystal-nav .elementor-location-header:has(.header-cart.is-open),
html body.chb-crystal-nav .elementor-location-header:has(.header-cart:hover),
html body.chb-crystal-nav .elementor-location-header:has(.header-cart:focus-within) {
  z-index: 20000 !important;
}
html body.chb-cart-open .header-cart,
html body.chb-crystal-nav .header-cart.is-open,
html body.chb-crystal-nav .header-cart:hover,
html body.chb-crystal-nav .header-cart:focus-within {
  z-index: 20001 !important;
}
html body.cfw-side-cart-open .elementor-location-header,
html body.cfw-side-cart-open.chb-cart-open .elementor-location-header,
html body.cfw-side-cart-open .header-cart {
  z-index: 30 !important;
}
html body.cfw-side-cart-open .chb-nav,
html body.cfw-side-cart-open .chb-nav-mega,
html body.cfw-side-cart-open .chb-nav-dim {
  z-index: 20 !important;
}
html body #cfw-side-cart-overlay {
  z-index: 999998 !important;
}
html body #cfw-side-cart,
html body.cfw-side-cart-open #cfw-side-cart {
  z-index: 999999 !important;
  pointer-events: auto !important;
}

@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: 210px minmax(0, 1fr);
    gap: 32px;
    align-items: stretch;
    padding: 1.35rem 2.5rem 0.35rem;
  }
  .chb-nav-intro {
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    margin: 0;
    padding: 0.1rem 0 0.15rem;
    border: 0;
    gap: 0;
    min-height: 100%;
  }
  .chb-nav-intro .title {
    font-size: clamp(1.85rem, 2.1vw, 2.35rem);
  }
  .chb-nav-intro .blurb {
    font-size: 0.84rem;
    line-height: 1.5;
    max-width: 16.5rem;
  }
  .chb-nav-intro .cta {
    margin-top: 1.15rem;
    min-height: 42px;
    padding: 0 18px;
  }
  .chb-nav-cards {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }
  .chb-nav-cards .card:nth-child(n+6) { display: none; }
  .chb-nav-cards .pic {
    height: 132px;
    padding: 12px 12px 4px;
  }
  .chb-nav-cards .name {
    font-size: 0.98rem;
    padding: 8px 12px 12px;
    min-height: 0;
  }

  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 10px 13px; gap: 6px; }
  .chb-nav-label { font-size: 1rem; }
  .chb-nav-panel.is-on {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 18px;
    padding: 1.1rem 1.3rem 0.25rem;
  }
  .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: 118px; }
}

@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,
  .chb-nav-item { transition: none; }
}
