#ep-header,
#ep-cta {
  --dr-accent: #b3a087;
}

body > header:not(#ep-header) {
  display: none !important;
}

div.fixed.z-50.bottom-10,
div.fixed.z-50[class*="bottom-10"] {
  display: none !important;
}

#ep-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  padding: calc(1.25rem + 8px) calc(1.25rem + 4px) 0;
  font-family: Pretendard, SUIT, sans-serif;
}

@media (min-width: 768px) {
  #ep-header {
    padding: calc(1.25rem + 16px) calc(1.25rem + 16px) 0;
  }
}

.ep-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  padding: 16px 40px 16px 28px;
  border-radius: 999px;
  background: #fff;
  color: #171717;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
  .ep-bar {
    padding-left: 40px;
  }
}

.ep-logo {
  flex-shrink: 0;
}

.ep-logo img {
  display: block;
  height: 36px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

@media (min-width: 768px) {
  .ep-logo img {
    height: 40px;
  }
}

.ep-nav {
  display: none;
  align-items: center;
  gap: 12px;
  margin-left: 16px;
}

@media (min-width: 1024px) {
  .ep-nav {
    display: flex;
  }
}

.ep-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 8px 20px;
  color: #000;
  font-family: Pretendard, SUIT, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.03em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.ep-link:hover,
.ep-drop.is-open > .ep-link {
  background: #5dc39b;
  color: #fff;
}

.ep-drop {
  position: relative;
}

.ep-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 70;
  min-width: 240px;
  padding-top: 12px;
}

.ep-drop:hover .ep-menu,
.ep-drop:focus-within .ep-menu,
.ep-drop.is-open .ep-menu {
  display: block;
}

.ep-menu-inner {
  max-height: 70vh;
  overflow-y: auto;
  border-radius: 18px;
  background: #fff;
  padding: 8px 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.ep-menu a {
  display: block;
  padding: 10px 20px;
  color: #161616;
  font-size: 14px;
  text-decoration: none;
}

.ep-menu a:hover {
  background: #f3f4ef;
}

.header-phone {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 174px;
  height: 45px;
  margin-left: 8px;
  border: 2px solid transparent;
  border-radius: 100px;
  color: #fff;
  background-image: linear-gradient(#000, #000), linear-gradient(-45deg, #efe6d6 0%, #c9bda8 52%, #e4d3b8 100%);
  background-origin: border-box;
  background-clip: content-box, border-box;
  font-family: Pretendard, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.42px;
  text-decoration: none;
  animation: header-phone-spark 3s ease-in-out infinite alternate;
}

@keyframes header-phone-spark {
  0%,
  50%,
  100% {
    background-image: linear-gradient(#000, #000), linear-gradient(-45deg, #efe6d6 0%, #c9bda8 52%, #e4d3b8 100%);
  }
  25%,
  75% {
    background-image: linear-gradient(#b3a087, #b3a087), linear-gradient(-45deg, #efe6d6 0%, #c9bda8 52%, #e4d3b8 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-phone,
  .eden-cta-show {
    animation: none;
  }
}

@media (min-width: 1024px) {
  .ep-phone-desk {
    display: inline-flex;
  }
}

.header-phone.header-phone-mo {
  display: inline-flex;
  width: auto;
  height: 36px;
  margin-left: 8px;
  padding: 0 14px;
  border: 0;
  background: var(--dr-accent);
  background-image: none;
  color: #fff;
  font-size: 15px;
  animation: none;
  flex-shrink: 0;
}

@media (max-width: 1023px) {
  #ep-header {
    right: 0;
    left: 0;
    width: auto;
    max-width: 100vw;
    padding-right: 16px;
    padding-left: 16px;
    box-sizing: border-box;
  }

  .ep-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    padding: 8px 16px 8px 14px;
    box-sizing: border-box;
  }

  .ep-nav,
  .ep-phone-desk {
    display: none !important;
  }

  .ep-logo {
    min-width: 0;
    overflow: hidden;
  }

  .ep-logo img {
    height: 28px;
    width: auto;
    max-width: 100%;
  }

  a.header-phone-mo {
    width: auto !important;
    max-width: 128px;
    height: 34px;
    margin-left: auto !important;
    padding: 0 10px;
    overflow: hidden;
    font-size: 13px;
    white-space: nowrap;
  }
}

@media (min-width: 1024px) {
  .header-phone.header-phone-mo {
    display: none;
  }
}

.ep-burger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: #f5f5e9;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .ep-burger {
    display: none;
  }
}

.ep-burger span {
  position: absolute;
  left: 6px;
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #292929;
}

.ep-burger span:nth-child(1) {
  top: 9px;
}
.ep-burger span:nth-child(2) {
  top: 15px;
}
.ep-burger span:nth-child(3) {
  top: 21px;
}

.ep-mobile {
  display: none;
  margin: 10px 8px 0;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  border-radius: 22px;
  background: #fff;
  padding: 8px 0 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.ep-mobile.is-open {
  display: block;
}

@media (min-width: 1024px) {
  .ep-mobile {
    display: none !important;
  }
}

.ep-mobile p {
  margin: 12px 20px 4px;
  color: #7c7c7c;
  font-size: 12px;
  font-weight: 700;
}

.ep-mobile a {
  display: block;
  padding: 10px 20px;
  color: #161616;
  font-size: 15px;
  text-decoration: none;
}

.ep-mobile a:hover {
  background: #f3f4ef;
}

#ep-cta {
  position: relative;
  z-index: 80;
  font-family: Pretendard, sans-serif;
}

.eden-cta-desk {
  display: none;
}

.eden-cta-mo {
  display: block;
}

.eden-cta-done,
.eden-cta-desk,
.eden-cta-show,
.eden-cta-sheet {
  font-family: Pretendard, sans-serif;
}

.eden-cta-done {
  position: fixed;
  z-index: 40;
  bottom: 20px;
  left: 50%;
  width: min(720px, calc(100% - 32px));
  transform: translateX(-50%);
  border-radius: 100px;
  background: #2b2b2be6;
  padding: 16px 28px;
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
  box-shadow: 2px 4px 7.5px #00000040;
}

.eden-cta-agree {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 10px;
  padding-right: 40px;
  color: #fff;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: -0.6px;
  cursor: pointer;
}

.eden-cta-agree input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #8bffb9;
}

.eden-cta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 100px;
  background: #2b2b2be6;
  padding: 12px 28px;
  box-shadow: 2px 4px 7.5px #00000040;
  backdrop-filter: blur(2px);
}

.eden-cta-field {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
  border-bottom: 1px solid #7c7c7c;
  color: #7c7c7c;
}

.eden-cta-bar .eden-cta-field:nth-child(3) {
  flex: 1.7;
}

.eden-cta-field span {
  flex-shrink: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.eden-cta-field input,
.eden-cta-field select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  padding: 5px;
  color: #fff;
  font-family: Pretendard, sans-serif;
  font-size: 16px;
  font-weight: 300;
}

.eden-cta-field input::placeholder {
  color: #7c7c7c;
}

.eden-cta-field select {
  color-scheme: dark;
}

.eden-cta-field select option {
  color: #161616;
  background: #fff;
}

.eden-cta-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.eden-cta-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  width: 168px;
  height: 46px;
  border: 0;
  border-radius: 100px;
  background: var(--dr-accent);
  color: #fff;
  font-family: Pretendard, sans-serif;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}

.eden-cta-go {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  width: 168px;
  height: 46px;
  border: 2px solid transparent;
  border-radius: 100px;
  background-image: linear-gradient(#000, #000), linear-gradient(45deg, #f3eadc 0%, #8d7356 100%);
  background-origin: border-box;
  background-clip: content-box, border-box;
  color: #fff;
  font-family: Pretendard, sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.eden-cta-show {
  position: fixed;
  z-index: 40;
  bottom: 30px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 289px;
  height: 51px;
  transform: translateX(-50%);
  border: 2px solid transparent;
  border-radius: 100px;
  background-image: linear-gradient(#000, #000), linear-gradient(-45deg, #efe6d6 0%, #c9bda8 52%, #e4d3b8 100%);
  background-origin: border-box;
  background-clip: content-box, border-box;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  animation: header-phone-spark 3s ease-in-out infinite alternate;
}

.eden-cta-show.is-hide {
  visibility: hidden;
  opacity: 0;
}

.eden-cta-sheet {
  position: fixed;
  z-index: 45;
  bottom: -420px;
  left: 50%;
  width: min(400px, 100%);
  transform: translateX(-50%);
  border-radius: 30px 30px 0 0;
  background: #151414e6;
  padding: 8px 22px 22px 24px;
  box-shadow: 2px 4px 7.5px #00000040;
  backdrop-filter: blur(2px);
  transition: bottom 0.5s;
}

.eden-cta-sheet.is-open {
  bottom: 0;
}

.eden-cta-sheet-top {
  display: flex;
  justify-content: flex-end;
}

.eden-cta-close {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.eden-cta-sheet-fields {
  display: grid;
  gap: 8px;
}

.eden-cta-sheet .eden-cta-field span,
.eden-cta-sheet .eden-cta-field input,
.eden-cta-sheet .eden-cta-field select {
  font-size: 15px;
}

.eden-cta-agree-mo {
  justify-content: flex-start;
  margin: 12px 0;
  padding-right: 0;
}

.eden-cta-sheet .eden-cta-actions {
  width: 100%;
}

.eden-cta-sheet .eden-cta-call,
.eden-cta-go-mo {
  flex: 1;
  width: auto;
  font-size: 16px;
}

@media (min-width: 1200px) {
  .eden-cta-desk {
    position: fixed;
    z-index: 40;
    right: 0;
    bottom: 20px;
    left: 0;
    display: flex;
    justify-content: center;
    pointer-events: none;
  }

  .eden-cta-desk form {
    width: min(1127px, calc(100% - 40px));
    pointer-events: auto;
  }

  .eden-cta-mo {
    display: none;
  }

  .eden-cta-desk .eden-cta-agree {
    width: fit-content;
    margin-right: 40px;
    margin-left: auto;
    border-radius: 100px;
    background: #2b2b2be6;
    padding: 6px 14px;
    font-weight: 400;
    box-shadow: 2px 4px 7.5px #0000002e;
  }
}

body {
  padding-bottom: 110px;
}

@media (max-width: 1023px) {
  footer img[src="/images/logo.png"] {
    width: 168px;
    height: auto;
  }
}

@media (min-width: 1200px) {
  body {
    padding-bottom: 130px;
  }
}
