/* Crystal header — top bar, search, account, basket, menu */

html body .elementor-location-header,
html body .elementor-24827 {
  --chb-green: #2f3d2a;
  --chb-gold: #c9a84c;
  --chb-cream: #f7f2eb;
  --chb-ivory: #fffcf8;
  font-family: Montserrat, system-ui, sans-serif;
}

/* —— Top bar —— */
html body .elementor-element-b962188,
html body.single-product .elementor-element-b962188 {
  background: #1e2a1c !important;
  border-bottom: 3px solid #c9a84c !important;
  min-height: 42px !important;
}
html body .elementor-element-b962188 .elementor-widget-container {
  padding: 0 !important;
}
html body .elementor-element-b962188 .elementor-nav-menu--layout-horizontal > ul {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 2px 4px !important;
}
html body .elementor-element-b962188 li.menu-item,
html body .elementor-element-b962188 .menu-item-27197,
html body .elementor-element-b962188 .menu-item-27196 {
  display: flex !important;
}
html body .elementor-element-b962188 a,
html body .elementor-element-b962188 .elementor-item,
html body .elementor-element-b962188 .elementor-nav-menu--layout-horizontal > ul > li > a.elementor-item,
html body .elementor-element-b962188 a[href*="/affiliate-dashboard/"],
html body .elementor-element-b962188 a[href*="/join-affiliate-program/"] {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  color: #f7f2eb !important;
  font-family: Montserrat, system-ui, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  padding: 11px 12px !important;
}
html body .elementor-element-b962188 a,
html body .elementor-element-b962188 .elementor-item {
  background-repeat: no-repeat !important;
  background-position: 10px center !important;
  background-size: 15px 15px !important;
  padding-left: 30px !important;
}
html body .elementor-element-b962188 a[href*="/my-account/"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0c878' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='3.2'/%3E%3Cpath d='M5.5 19c.8-3.2 3.3-5 6.5-5s5.7 1.8 6.5 5'/%3E%3C/svg%3E") !important;
}
html body .elementor-element-b962188 a[href*="/about-us/"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0c878' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 10v7M12 7h.01'/%3E%3C/svg%3E") !important;
}
html body .elementor-element-b962188 a[href*="/contact-us/"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0c878' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E") !important;
}
html body .elementor-element-b962188 a[href*="/affiliate-dashboard/"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0c878' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 17l5-5-5-5M15 12H3'/%3E%3Cpath d='M21 4v16'/%3E%3C/svg%3E") !important;
}
html body .elementor-element-b962188 a[href*="/join-affiliate-program/"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0c878' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3.5 19c.7-2.8 2.8-4.5 5.5-4.5S14 16.2 14.7 19M17 8v6M14 11h6'/%3E%3C/svg%3E") !important;
}
html body .elementor-element-b962188 a:hover,
html body .elementor-element-b962188 .elementor-item:hover {
  color: #e0c878 !important;
}

/* Product pages: keep site chrome the same ivory as the rest of the shop */
html body.single-product .elementor-location-header,
html body.single-product .elementor-24827,
html body.single-product .elementor-24827 .elementor-element-cf3056e,
html body.single-product.chb-silver-pdp .elementor-location-header,
html body.single-product.chb-silver-pdp .elementor-24827 .elementor-element-cf3056e {
  background: #fffcf8 !important;
}

/* —— Main header row —— */
html body .elementor-location-header,
html body .elementor-24827 .elementor-element-cf3056e {
  background: #fffcf8 !important;
}
@media (min-width: 1025px) {
  html body .elementor-24827 .elementor-element-cf3056e {
    min-height: 108px !important;
    align-items: center !important;
    padding: 8px 0 !important;
  }
  html body .elementor-24827 .elementor-widget-theme-site-logo img,
  html body .elementor-24827 .elementor-element-16dc0d3 img,
  html body .elementor-24827 .elementor-element-75d1706 img {
    width: 168px !important;
    height: 92px !important;
    max-width: 168px !important;
    max-height: 92px !important;
    object-fit: contain !important;
    mix-blend-mode: multiply !important;
  }

  /* Search — one-line cream pill, one icon inside */
  html body .elementor-24827 .elementor-element-64d4b92 {
    --width: 620px !important;
    width: 620px !important;
    max-width: 620px !important;
    min-width: 420px !important;
    flex: 1 1 620px !important;
    display: flex !important;
    align-items: center !important;
  }
  html body .elementor-24827 .elementor-element-64d4b92 .elementor-element,
  html body .elementor-24827 .elementor-element-64d4b92 .elementor-widget,
  html body .elementor-24827 .elementor-element-64d4b92 .elementor-widget-container,
  html body .elementor-24827 .elementor-element-07c51f9,
  html body .elementor-24827 .dgwt-wcas-search-wrapp,
  html body .elementor-24827 .dgwt-wcas-search-form,
  html body .elementor-24827 .dgwt-wcas-sf-wrapp {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    background: transparent !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  html body.theme-bacola .elementor-location-header .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp,
  html body .elementor-24827 .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp {
    position: relative !important;
    overflow: hidden !important;
    height: 50px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 2px solid #2f3d2a !important;
    box-shadow: 0 1px 2px rgba(47, 61, 42, 0.08) !important;
  }
  html body.theme-bacola .elementor-location-header .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp:focus-within,
  html body .elementor-24827 .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp:focus-within {
    border-color: #c9a84c !important;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.28) !important;
  }
  html body .elementor-24827 .dgwt-wcas-sf-wrapp::before,
  html body .elementor-24827 .dgwt-wcas-sf-wrapp::after {
    content: none !important;
    display: none !important;
  }
  html body .elementor-24827 input.dgwt-wcas-search-input {
    display: block !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    line-height: 48px !important;
    padding: 0 18px 0 48px !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 999px !important;
    color: #2f3d2a !important;
    font-family: Montserrat, system-ui, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  html body .elementor-24827 input.dgwt-wcas-search-input::placeholder {
    color: #6b6458 !important;
    opacity: 1 !important;
    white-space: nowrap !important;
  }
  html body .elementor-24827 .dgwt-wcas-search-submit {
    position: absolute !important;
    left: 6px !important;
    top: 2px !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
  }
  html body .elementor-24827 .dgwt-wcas-search-submit svg {
    width: 20px !important;
    height: 20px !important;
    fill: #2f3d2a !important;
    stroke: #2f3d2a !important;
  }
  html body .elementor-24827 .dgwt-wcas-preloader {
    display: none !important;
  }
  html body .elementor-24827 a.dgwt-wcas-search-icon,
  html body .elementor-24827 a.js-dgwt-wcas-enable-mobile-form {
    display: none !important;
  }

  /* Account + basket as matching icon buttons */
  html body .elementor-24827 .header-buttons {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  html body .elementor-24827 .header-buttons a {
    width: 44px !important;
    height: 44px !important;
    border: 1px solid rgba(47, 61, 42, 0.18) !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #2f3d2a !important;
  }
  html body .elementor-24827 .header-buttons a:hover {
    border-color: #c9a84c !important;
    background: #f7f2eb !important;
  }
  html body .elementor-24827 .header-cart .cart-count-icon,
  html body .elementor-24827 .header-cart .cart-count {
    background: #c9a84c !important;
    color: #2a2208 !important;
    top: -2px !important;
    right: -2px !important;
  }

  /* Category menu — one row, gold hairline */
  html body .elementor-location-header .elementor-nav-menu--layout-horizontal > ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    gap: 0 !important;
  }
  html body .elementor-24827 .elementor-nav-menu--layout-horizontal > ul > li > a.elementor-item {
    font-family: Montserrat, system-ui, sans-serif !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    letter-spacing: 0.04em !important;
    color: #2f3d2a !important;
    white-space: nowrap !important;
    padding: 12px 14px 14px 36px !important;
    text-transform: uppercase !important;
  }
  html body .elementor-24827 .elementor-nav-menu--layout-horizontal > ul > li > a.elementor-item:hover,
  html body .elementor-24827 .elementor-nav-menu--layout-horizontal > ul > li > a.elementor-item.elementor-item-active {
    color: #2f3d2a !important;
    box-shadow: inset 0 -2px 0 #c9a84c !important;
  }
  html body .elementor-element-b962188 .elementor-nav-menu--layout-horizontal > ul > li > a.elementor-item {
    font-size: 12px !important;
    font-weight: 500 !important;
    padding: 10px 14px !important;
    color: #f7f2eb !important;
    text-transform: none !important;
    box-shadow: none !important;
  }
}

/* —— Tablet + phone: compact bar, hamburger, icon search —— */
@media (max-width: 1024px) {
  html body .elementor-element-b962188 {
    display: none !important;
  }

  html body .elementor-24827 .elementor-element-cf3056e {
    min-height: 72px !important;
    padding: 8px 12px !important;
    align-items: center !important;
    background: #fffcf8 !important;
    border-bottom: 2px solid #c9a84c !important;
  }

  /* Hide the category strip — it lives in the drawer */
  html body .elementor-location-header .elementor-nav-menu--layout-horizontal {
    display: none !important;
  }

  html body #mobile-menu-trigger,
  html body #mobile-menu-trigger .elementor-widget-container,
  html body #mobile-menu-trigger .elementor-button-wrapper {
    display: block !important;
    visibility: visible !important;
    width: 44px !important;
    min-width: 44px !important;
  }
  html body #mobile-menu-trigger .elementor-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  html body #mobile-menu-trigger .elementor-button-icon {
    display: block !important;
    width: 22px !important;
    height: 14px !important;
    background:
      linear-gradient(#2f3d2a, #2f3d2a) top / 100% 2px no-repeat,
      linear-gradient(#2f3d2a, #2f3d2a) center / 100% 2px no-repeat,
      linear-gradient(#2f3d2a, #2f3d2a) bottom / 100% 2px no-repeat;
  }
  html body #mobile-menu-trigger svg {
    display: none !important;
  }

  html body .elementor-24827 .elementor-element-75d1706 img,
  html body .elementor-24827 .elementor-widget-theme-site-logo img {
    width: 118px !important;
    height: 52px !important;
    max-width: 118px !important;
    max-height: 52px !important;
    object-fit: contain !important;
    mix-blend-mode: multiply !important;
  }

  html body .elementor-24827 .elementor-element-64d4b92 {
    width: 44px !important;
    min-width: 44px !important;
    flex: 0 0 44px !important;
    margin-left: auto !important;
  }
  html body a.js-dgwt-wcas-enable-mobile-form {
    width: 44px !important;
    height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(47, 61, 42, 0.18) !important;
    border-radius: 50% !important;
    background: #fff !important;
  }
  html body a.js-dgwt-wcas-enable-mobile-form::before {
    content: "" !important;
    width: 14px !important;
    height: 14px !important;
    border: 2px solid #2f3d2a !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;
  }
  html body a.js-dgwt-wcas-enable-mobile-form::after {
    content: "" !important;
    position: absolute !important;
    width: 8px !important;
    height: 2px !important;
    background: #2f3d2a !important;
    transform: rotate(45deg) !important;
    margin: 10px 0 0 10px !important;
  }

  html body .elementor-24827 .header-buttons {
    display: flex !important;
    gap: 6px !important;
  }
  html body .elementor-24827 .header-buttons a {
    width: 44px !important;
    height: 44px !important;
    border: 1px solid rgba(47, 61, 42, 0.18) !important;
    border-radius: 50% !important;
    background: #fff !important;
  }
  html body .elementor-24827 .header-cart .cart-count-icon {
    background: #c9a84c !important;
    color: #2a2208 !important;
  }
}

@media (max-width: 767px) {
  html body .elementor-24827 .elementor-element-cf3056e {
    min-height: 64px !important;
    padding: 6px 10px !important;
  }
}
