/*
Theme Name: Ellie's Hello Elementor
Theme URI: https://elliesheartstrings.com/
Description: Hello Elementor child theme with Ellie's Heartstrings custom header and menu.
Author: OpenAI Codex
Template: hello-elementor
Version: 1.0.0
Text Domain: ellies-hello-elementor
*/

:root {
  --eh-text: #111111;
  --eh-surface: #ffffff;
}

.eh-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.94);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.eh-header + #content,
.eh-header + main,
.eh-header + .site-main {
  margin-top: 2rem;
}

.admin-bar .eh-header {
  top: 32px;
}

.eh-container {
  width: min(1240px, calc(100vw - 2rem));
  margin: 0 auto;
}

.eh-header__inner {
  position: relative;
  padding: 0.12rem 0;
}

.eh-header__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 56px;
}

.eh-brand-wrap {
  min-width: 0;
  flex: 0 0 auto;
}

.eh-brand,
.eh-brand:hover {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  text-decoration: none;
}

.eh-brand--with-logo {
  display: inline-flex;
}

.eh-brand__logo {
  display: inline-flex !important;
  width: 68px !important;
  height: 68px !important;
  flex: 0 0 68px !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.eh-brand__logo .custom-logo-link {
  display: inline-flex !important;
  width: 68px !important;
  height: 68px !important;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.eh-brand__logo .custom-logo {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.eh-brand__title {
  font-family: "Manrope", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eh-text);
}

.eh-nav {
  margin-left: auto;
}

.eh-nav__menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
}

.eh-nav__menu a {
  color: var(--eh-text);
  text-decoration: none;
}

.eh-nav__menu a:hover {
  opacity: 0.72;
}

.eh-nav-toggle,
.eh-nav-toggle::before,
.eh-nav-toggle::after,
button.eh-nav-toggle,
[type="button"].eh-nav-toggle {
  all: unset;
  display: none !important;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0 !important;
  border-color: transparent !important;
  box-shadow: none !important;
  border-radius: 999px;
  background: transparent !important;
  color: var(--eh-text);
  font: inherit;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  outline: none !important;
  outline-offset: 0 !important;
  -webkit-tap-highlight-color: transparent;
}

.eh-header__toggle-wrap,
.eh-header__toggle-wrap * {
  box-shadow: none !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}

.eh-nav-toggle:focus,
.eh-nav-toggle:focus-visible,
.eh-nav-toggle:hover,
.eh-nav-toggle:active,
button.eh-nav-toggle:focus,
button.eh-nav-toggle:focus-visible,
button.eh-nav-toggle:hover,
button.eh-nav-toggle:active,
[type="button"].eh-nav-toggle:focus,
[type="button"].eh-nav-toggle:focus-visible,
[type="button"].eh-nav-toggle:hover,
[type="button"].eh-nav-toggle:active,
.eh-header__toggle-wrap:focus,
.eh-header__toggle-wrap:focus-within {
  border: 0 !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent !important;
  color: var(--eh-text) !important;
}

.eh-nav-toggle__icon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.eh-nav-toggle__icon span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--eh-text);
  border-radius: 999px;
}

.eh-header__toggle-wrap {
  margin-left: 0.75rem;
}

.eh-button,
.eh-button:hover {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 2rem;
  padding: 0.62rem 0.95rem;
  border-radius: 999px;
  border: 1px solid #c800c4;
  background: #c800c4;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.82rem;
  text-decoration: none;
  white-space: nowrap;
}

.eh-header__toggle-wrap {
  display: none;
}

@media (max-width: 768px) {
  .eh-header,
  .admin-bar .eh-header {
    position: relative;
    top: 0;
  }

  .eh-header {
    background: rgba(255, 255, 255, 0.94);
  }

  .eh-header + #content,
  .eh-header + main,
  .eh-header + .site-main {
    margin-top: 1rem;
  }

  .eh-header__inner {
    padding: 0.1rem 0;
  }

  .eh-header {
    background: rgba(255, 255, 255, 0.94);
  }

  .eh-header__bar {
    display: flex;
    justify-content: space-between;
    min-height: 48px;
  }

  .eh-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.1rem);
    right: 0;
    width: min(320px, calc(100vw - 2rem));
    z-index: 30;
    margin-left: 0;
  }

  .eh-nav.is-open {
    display: block;
  }

  .eh-nav__menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 44px rgba(17, 17, 17, 0.06);
  }

  .eh-nav-toggle {
    display: inline-flex !important;
    justify-self: end;
    align-items: center;
    justify-content: center;
  }

  .eh-header__toggle-wrap {
    display: block;
    margin-left: 0.75rem;
  }

  .eh-brand__logo {
    width: 56px !important;
    height: 56px !important;
    flex-basis: 56px !important;
  }

  .eh-brand__logo .custom-logo-link {
    width: 56px !important;
    height: 56px !important;
  }

  .eh-button {
    display: none;
  }
}
