/*
Theme Name: OceanWP Child
Template: oceanwp
Version: 1.0
*/

/* Custom sitewide header */
.edv-site-header,
.edv-site-header * {
  box-sizing: border-box;
}

.edv-site-header {
  --edv-plum: #6f2c62;
  --edv-deep-plum: #5b2350;
  --edv-scroll-plum: #564671;
  --edv-cream: #fff0a8;
  --edv-white: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100vw;
  margin: 0;
  padding: 24px 56px 14px;
  background-color: var(--edv-deep-plum);
  font-family: "Figtree", Arial, sans-serif;
  transition: background-color 240ms ease, box-shadow 240ms ease, padding 240ms ease;
}

.edv-site-header.is-scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: var(--edv-scroll-plum);
  box-shadow: 0 12px 34px rgba(47, 36, 56, 0.16);
}

.edv-header-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) auto minmax(280px, 0.58fr);
  align-items: center;
  gap: 38px;
  max-width: 1080px;
  min-height: 92px;
  margin: 0 auto;
  transition: min-height 240ms ease;
}

.edv-site-header.is-scrolled .edv-header-inner {
  min-height: 74px;
}

.edv-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
  height: 42px;
}

.edv-nav > * {
  display: inline-flex;
  align-items: center;
  height: 42px;
}

.edv-nav-left {
  justify-content: flex-start;
}

.edv-nav-right {
  justify-content: flex-end;
}

.edv-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  position: relative;
  height: 42px;
  color: var(--edv-white);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.edv-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
}

.edv-nav-link:hover::after,
.edv-nav-link:focus-visible::after {
  transform: scaleX(1);
}

.edv-site-header a:focus,
.edv-site-header button:focus,
.edv-site-header input:focus,
.edv-footer a:focus {
  outline: 0 !important;
  box-shadow: none !important;
}

.edv-site-header a,
.edv-site-header button,
.edv-site-header input,
.edv-footer a,
.edv-footer button,
.edv-footer input {
  -webkit-tap-highlight-color: transparent;
}

.edv-site-header a:focus,
.edv-site-header a:focus-visible,
.edv-site-header a:active,
.edv-site-header button:focus,
.edv-site-header button:focus-visible,
.edv-site-header button:active,
.edv-footer a:focus,
.edv-footer a:focus-visible,
.edv-footer a:active {
  outline: none !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
  text-decoration: none;
}

.edv-site-header .edv-nav-link:focus,
.edv-site-header .edv-nav-link:focus-visible,
.edv-site-header .edv-nav-link:active,
.edv-site-header .edv-dropdown-menu a:focus,
.edv-site-header .edv-dropdown-menu a:focus-visible,
.edv-site-header .edv-dropdown-menu a:active,
.edv-site-header .edv-mobile-menu a:focus,
.edv-site-header .edv-mobile-menu a:focus-visible,
.edv-site-header .edv-mobile-menu a:active,
.edv-footer .edv-footer-menu a:focus,
.edv-footer .edv-footer-menu a:focus-visible,
.edv-footer .edv-footer-menu a:active,
.edv-footer .edv-footer-legal a:focus,
.edv-footer .edv-footer-legal a:focus-visible,
.edv-footer .edv-footer-legal a:active,
.edv-footer .edv-footer-socials a:focus,
.edv-footer .edv-footer-socials a:focus-visible,
.edv-footer .edv-footer-socials a:active {
  outline: none !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
}

.edv-nav-link:hover,
.edv-nav-link:focus-visible,
.edv-icon-link:hover,
.edv-icon-link:focus-visible {
  color: var(--edv-cream);
}

.edv-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.edv-logo img {
  display: block;
  width: 280px;
  max-height: 112px;
  object-fit: contain;
  transition: width 240ms ease, max-height 240ms ease;
}

.edv-site-header.is-scrolled .edv-logo img {
  width: 245px;
  max-height: 92px;
}

.edv-chevron {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  position: relative;
  top: -2px;
  margin-left: 1px;
  transform: rotate(45deg);
}

.edv-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 42px;
}

.edv-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 300px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(251, 234, 243, 0.98);
  box-shadow: 0 18px 45px rgba(47, 36, 56, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.edv-dropdown:hover .edv-dropdown-menu,
.edv-dropdown:focus-within .edv-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.edv-dropdown-menu a {
  display: block;
  color: var(--edv-plum);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: color 160ms ease;
}

.edv-dropdown-menu a:hover,
.edv-dropdown-menu a:focus-visible {
  color: #d42b62;
}

.edv-search {
  display: flex;
  align-items: center;
  position: relative;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  outline: 0 !important;
  box-shadow: none !important;
  transition:
    flex-basis 220ms ease,
    width 220ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.edv-search:hover,
.edv-search:focus-within {
  flex-basis: 176px;
  width: 176px;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.72);
  outline: 0 !important;
  box-shadow: none !important;
}

.edv-search input {
  position: absolute;
  inset: 0 42px 0 0;
  width: auto;
  min-width: 0;
  border: 0 !important;
  outline: 0 !important;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none !important;
  background: transparent;
  color: #ffffff;
  padding: 0 4px 0 14px;
  font-family: "Figtree", Arial, sans-serif;
  font-size: 13px;
  line-height: 42px;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 170ms ease 60ms, transform 170ms ease 60ms;
}

.edv-search:hover input,
.edv-search:focus-within input {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.edv-search input:focus,
.edv-search input:focus-visible {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.edv-search input::placeholder {
  color: rgba(255, 255, 255, 0.78);
}

.edv-search button,
.edv-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}

.edv-site-header .edv-search button {
  position: relative;
  z-index: 1;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  min-width: 42px !important;
  margin-left: auto;
  padding: 0 !important;
  appearance: none;
  border: 0 !important;
  border-radius: 999px !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

.edv-site-header .edv-search:hover button,
.edv-site-header .edv-search:focus-within button,
.edv-site-header .edv-search button:hover,
.edv-site-header .edv-search button:focus,
.edv-site-header .edv-search button:focus-visible,
.edv-site-header .edv-search button:active {
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

.edv-search button::before,
.edv-search button::after {
  display: none !important;
}

.edv-search svg,
.edv-icon-link svg {
  display: block;
  width: 27px;
  height: 27px;
  fill: currentColor;
}

.edv-icon-link {
  flex: 0 0 38px;
  width: 38px;
  height: 42px;
  transition: transform 180ms ease;
}

.edv-icon-link:hover {
  transform: translateY(-1px);
}

.edv-menu-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.edv-hamburger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.edv-hamburger span {
  width: 26px;
  height: 2px;
  background: var(--edv-white);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.edv-mobile-menu {
  display: none;
}

.edv-header-spacer {
  height: 130px;
}

@media (max-width: 1180px) {
  .edv-site-header {
    padding: 16px 24px;
  }

  .edv-header-inner {
    display: flex;
    justify-content: space-between;
    min-height: 78px;
  }

  .edv-site-header.is-scrolled .edv-header-inner {
    min-height: 66px;
  }

  .edv-nav {
    display: none;
  }

  .edv-logo img {
    width: 210px;
    max-height: 88px;
  }

  .edv-site-header.is-scrolled .edv-logo img {
    width: 188px;
    max-height: 76px;
  }

  .edv-hamburger {
    display: inline-flex;
  }

  .edv-menu-check:checked ~ .edv-header-inner .edv-hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .edv-menu-check:checked ~ .edv-header-inner .edv-hamburger span:nth-child(2) {
    opacity: 0;
  }

  .edv-menu-check:checked ~ .edv-header-inner .edv-hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .edv-mobile-menu {
    position: absolute;
    top: 96px;
    left: 18px;
    right: 18px;
    display: grid;
    gap: 2px;
    padding: 18px;
    border-radius: 8px;
    background: rgba(251, 234, 243, 0.98);
    box-shadow: 0 18px 45px rgba(47, 36, 56, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .edv-site-header.is-scrolled .edv-mobile-menu {
    top: 84px;
  }

  .edv-menu-check:checked ~ .edv-mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .edv-mobile-menu a {
    display: block;
    padding: 13px 8px;
    color: var(--edv-plum);
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
  }

  .edv-mobile-menu a:hover,
  .edv-mobile-menu a:focus-visible {
    color: #d42b62;
  }

  .edv-mobile-menu form {
    padding: 10px 8px 4px;
  }

  .edv-mobile-menu input {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(111, 44, 98, 0.2);
    border-radius: 999px;
    padding: 0 16px;
    font-family: "Figtree", Arial, sans-serif;
    font-size: 16px;
    outline: 0;
  }

  .edv-header-spacer {
    height: 110px;
  }
}

@media (max-width: 520px) {
  .edv-site-header {
    padding: 14px 18px;
  }

  .edv-logo img {
    width: 176px;
    max-height: 76px;
  }

  .edv-site-header.is-scrolled .edv-logo img {
    width: 164px;
    max-height: 68px;
  }

  .edv-mobile-menu {
    top: 88px;
  }

  .edv-header-spacer {
    height: 96px;
  }
}

/* Custom sitewide footer */
.edv-footer,
.edv-footer * {
  box-sizing: border-box;
}

.edv-footer {
  --edv-deep-plum: #662958;
  --edv-raspberry: #d42b62;
  --edv-muted-purple: #4e3f6a;
  --edv-cream: #fff0a5;
  --edv-rose: #e386bb;
  --edv-blush: #ffeaf6;
  --edv-white: #ffffff;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 48px 28px 30px;
  background: var(--edv-deep-plum);
  color: var(--edv-blush);
  font-family: "Figtree", Arial, sans-serif;
}

.edv-footer a {
  color: var(--edv-cream);
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.edv-footer a:hover,
.edv-footer a:focus {
  color: var(--edv-blush);
}

.edv-footer-top {
  display: grid;
  grid-template-columns: auto minmax(360px, 520px) minmax(150px, max-content);
  justify-content: center;
  align-items: start;
  column-gap: 36px;
  row-gap: 28px;
  max-width: 960px;
  margin: 0 auto 20px;
}

.edv-footer-col h3 {
  font-family: "Catchy Mager", Arial, sans-serif;
  font-variant-ligatures: none;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 14px;
  color: var(--edv-white);
  letter-spacing: 0;
}

.edv-footer-col p {
  margin: 0 0 12px;
  color: var(--edv-blush);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.58;
}

.edv-footer-logo {
  display: block;
  width: clamp(122px, 9vw, 145px);
  max-width: 100%;
  height: auto;
  margin: 0;
}

.edv-footer-brand {
  display: contents;
}

.edv-footer-brand-text {
  max-width: 520px;
  padding-top: 4px;
}

.edv-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.edv-footer-menu li {
  margin: 0 0 7px;
}

.edv-footer-menu a {
  display: inline-flex;
  font-size: 14px;
  line-height: 1.35;
}

.edv-footer-bottom {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(260px, 1.3fr) minmax(280px, 1fr);
  gap: 22px;
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--edv-rose);
  align-items: center;
}

.edv-footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.edv-footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--edv-rose);
  border-radius: 999px;
  background: var(--edv-deep-plum);
  color: var(--edv-white);
}

.edv-footer-socials a:hover,
.edv-footer-socials a:focus {
  background: var(--edv-raspberry);
  color: var(--edv-white);
  transform: translateY(-2px);
}

.edv-footer-socials svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.edv-footer-bottom-center {
  text-align: center;
}

.edv-footer-copyright {
  margin: 0 0 8px;
  color: var(--edv-blush);
  font-size: 13px;
  line-height: 1.45;
}

.edv-footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--edv-rose);
  font-size: 12px;
  line-height: 1.45;
}

.edv-footer-legal a {
  color: var(--edv-cream);
}

.edv-footer-legal a:hover,
.edv-footer-legal a:focus {
  color: var(--edv-blush);
}

.edv-footer-menu a:focus-visible,
.edv-footer-legal a:focus-visible,
.edv-footer-socials a:focus-visible {
  outline: 0;
  box-shadow: none;
  color: var(--edv-blush);
}

.edv-footer-payments {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.edv-footer-payments img {
  display: block;
  height: 42px;
  width: auto;
  max-width: 82px;
  border-radius: 4px;
}

@media (max-width: 1024px) {
  .edv-footer-top {
    grid-template-columns: auto minmax(0, 1fr);
    max-width: 760px;
    column-gap: 34px;
  }

  .edv-footer-top > .edv-footer-col:not(.edv-footer-brand) {
    grid-column: 2;
  }

  .edv-footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .edv-footer-socials,
  .edv-footer-payments {
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .edv-footer {
    padding: 42px 20px 24px;
  }

  .edv-footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 30px;
  }

  .edv-footer-col {
    text-align: center;
  }

  .edv-footer-logo {
    width: 140px;
    margin-right: auto;
    margin-left: auto;
  }

  .edv-footer-brand {
    display: block;
  }

  .edv-footer-brand-text {
    max-width: 100%;
    padding-top: 0;
  }

  .edv-footer-bottom {
    gap: 20px;
    padding-top: 24px;
  }

  .edv-footer-legal {
    gap: 8px;
  }
}
