@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600&family=Montserrat:wght@600&display=swap");

/* ===== Endoca header — side-drawer navigation with Endoca's own visual identity =====
   Apothecary / botanical: arched product frames, cream + white two-tone sheet, editorial type, hairline index lists.
   Type: Manrope (bar links 400, announcement 600) · Montserrat 600 (drawer list) · Instrument Sans (panels 500/17px). Sentence case only. */
body.endoca-custom-header-active .endoca-header-v2 {
  --g: #0b6f4a;
  --g-dk: #08573a;
  --g-900: #1f3d34;
  --g-800: #244c3a;
  --tint: #e7eee0;
  --cream: #f4f0e6;
  --cream-2: #ebe5d6;
  --paper: #fbfaf6;
  --sand: #efe6d2;
  --ink: #17201b;
  --ink-2: #4d544f;
  --ink-3: #7f857f;
  --line: #e4dfd2;
  --sale: #b5452b;
  --f-display: 'Instrument Sans', system-ui, sans-serif;
  --f-ui: 'Instrument Sans', system-ui, sans-serif;
  --f-btn: 'Instrument Sans', system-ui, sans-serif;
  --f-man: 'Manrope', system-ui, sans-serif;
  --f-mont: 'Montserrat', system-ui, sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --edge: max(30px, calc((100vw - 1350px) / 2));
  display: block;
  position: sticky;
  top: 0;
  z-index: 100000;
  font-family: var(--f-ui);
  color: var(--g-900);
  -webkit-font-smoothing: antialiased;
  text-align: left
}

body.endoca-custom-header-active .endoca-header-v2 * {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

body.endoca-custom-header-active .endoca-header-v2 a {
  color: inherit;
  text-decoration: none
}

body.endoca-custom-header-active .endoca-header-v2 button,
body.endoca-custom-header-active .endoca-header-v2 input {
  font: inherit;
  color: inherit;
  background: none;
  border: 0
}

body.endoca-custom-header-active .endoca-header-v2 button {
  cursor: pointer;
  text-align: left
}

body.endoca-custom-header-active .endoca-header-v2 img {
  display: block;
  max-width: 100%
}

body.endoca-custom-header-active .endoca-header-v2 svg {
  display: block;
  flex: none
}

body.endoca-custom-header-active .endoca-header-v2 ol {
  list-style: none
}

body.endoca-custom-header-active .endoca-header-v2 :focus-visible {
  outline: 2px solid var(--g);
  outline-offset: 2px;
  border-radius: 8px
}

body.endoca-custom-header-active .endoca-header-v2 .vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0)
}



/* ---------- announcement: deep green, centred message, dots ---------- */
body.endoca-custom-header-active .endoca-header-v2 .ann {
  position: relative;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--g-900);
  color: #efe9da
}

body.endoca-custom-header-active .endoca-header-v2 .ann__track {
  position: relative;
  width: min(620px, 80vw);
  height: 100%
}

body.endoca-custom-header-active .endoca-header-v2 .ann__msg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: 600 16px/1.2 var(--f-man);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .5s
}

body.endoca-custom-header-active .endoca-header-v2 .ann__msg.is-on {
  opacity: 1
}

body.endoca-custom-header-active .endoca-header-v2 .ann__msg svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.5;
  color: #b9d3a6
}

body.endoca-custom-header-active .endoca-header-v2 .ann__msg b {
  font-weight: 600;
  color: #fff;
  letter-spacing: .02em
}

body.endoca-custom-header-active .endoca-header-v2 .ann__msg .s {
  display: none
}

body.endoca-custom-header-active .endoca-header-v2 .ann__dots {
  position: absolute;
  right: var(--edge);
  display: flex;
  gap: 6px
}

body.endoca-custom-header-active .endoca-header-v2 .ann__dot {
  width: 18px;
  height: 3px;
  border-radius: 0;
  background: rgba(239, 233, 218, .3);
  transition: background .3s, width .3s
}

body.endoca-custom-header-active .endoca-header-v2 .ann__dot.is-on {
  background: #efe9da;
  width: 26px
}



/* ---------- main bar ---------- */
body.endoca-custom-header-active .endoca-header-v2 .bar {
  position: relative;
  z-index: 3;
  height: 70px;
  background: var(--paper);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 var(--edge);
  border-bottom: 1px solid var(--line)
}

body.endoca-custom-header-active .endoca-header-v2 .bar__logo {
  justify-self: center
}

body.endoca-custom-header-active .endoca-header-v2 .bar__logo img {
  width: 146px;
  height: auto
}

body.endoca-custom-header-active .endoca-header-v2 .bar__nav {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 100%
}

body.endoca-custom-header-active .endoca-header-v2 .shopbtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 18px 0 14px;
  border-radius: 8px;
  border: 1.5px solid var(--g-900);
  font: 400 16px/1 var(--f-man);
  transition: background .2s, color .2s
}

body.endoca-custom-header-active .endoca-header-v2 .shopbtn__ic {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 16px
}

body.endoca-custom-header-active .endoca-header-v2 .shopbtn__ic i {
  display: block;
  height: 1.6px;
  background: currentColor;
  border-radius: 1px;
  transition: transform .25s var(--ease), width .25s
}

body.endoca-custom-header-active .endoca-header-v2 .shopbtn__ic i:nth-child(2) {
  width: 70%
}

body.endoca-custom-header-active .endoca-header-v2 .shopbtn:hover,
body.endoca-custom-header-active .endoca-header-v2 .shopbtn[aria-expanded="true"] {
  background: var(--g-900);
  color: var(--paper)
}

body.endoca-custom-header-active .endoca-header-v2 .shopbtn[aria-expanded="true"] .shopbtn__ic i:nth-child(1) {
  transform: translateY(4.6px) rotate(45deg)
}

body.endoca-custom-header-active .endoca-header-v2 .shopbtn[aria-expanded="true"] .shopbtn__ic i:nth-child(2) {
  width: 0
}

body.endoca-custom-header-active .endoca-header-v2 .shopbtn[aria-expanded="true"] .shopbtn__ic i:nth-child(3) {
  transform: translateY(-4.6px) rotate(-45deg)
}

body.endoca-custom-header-active .endoca-header-v2 .bar__link {
  font: 400 16px/1 var(--f-man);
  color: var(--g-900);
  padding: 8px 0;
  background: linear-gradient(currentColor, currentColor) 0 100%/0 1.5px no-repeat;
  transition: background-size .3s var(--ease)
}

body.endoca-custom-header-active .endoca-header-v2 .bar__link:hover {
  background-size: 100% 1.5px
}

body.endoca-custom-header-active .endoca-header-v2 .bar__link--offer {
  color: var(--sale)
}

body.endoca-custom-header-active .endoca-header-v2 .bar__end {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 4px
}

body.endoca-custom-header-active .endoca-header-v2 .bar__end .search {
  margin-right: 8px
}

body.endoca-custom-header-active .endoca-header-v2 .bar__end .cart {
  margin-left: 6px
}

body.endoca-custom-header-active .endoca-header-v2 .search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 250px;
  height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink-3);
  transition: box-shadow .2s
}

body.endoca-custom-header-active .endoca-header-v2 .search:focus-within {
  box-shadow: 0 0 0 1.5px var(--g-900)
}

body.endoca-custom-header-active .endoca-header-v2 .search svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.6
}

body.endoca-custom-header-active .endoca-header-v2 .search input {
  flex: 1;
  min-width: 0;
  font: 400 14px/1 var(--f-ui);
  color: var(--ink);
  outline: none
}

body.endoca-custom-header-active .endoca-header-v2 .search input::placeholder {
  color: var(--ink-3)
}

body.endoca-custom-header-active .endoca-header-v2 .ic {
  position: relative;
  width: 36px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--g-900);
  transition: background .2s
}

body.endoca-custom-header-active .endoca-header-v2 .ic:hover {
  background: var(--cream)
}

body.endoca-custom-header-active .endoca-header-v2 .ic svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5
}

body.endoca-custom-header-active .endoca-header-v2 .ic__n {
  position: absolute;
  top: 4px;
  right: -3px;
  min-width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--g);
  color: #fff;
  font: 600 10px/16px var(--f-ui);
  text-align: center;
  padding: 0 3px
}

body.endoca-custom-header-active .endoca-header-v2 .cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px 0 13px;
  border-radius: 8px;
  background: var(--g);
  color: #fff;
  font: 500 14px/1 var(--f-ui);
  transition: background .2s
}

body.endoca-custom-header-active .endoca-header-v2 .cart:hover {
  background: var(--g-dk)
}

body.endoca-custom-header-active .endoca-header-v2 .cart svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.6
}

body.endoca-custom-header-active .endoca-header-v2 .burger {
  display: none
}



/* ---------- drawer: floating two-tone sheet ---------- */
body.endoca-custom-header-active .endoca-header-v2 .backdrop {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: var(--top, 106px);
  background: rgba(31, 61, 52, .3);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility 0s .3s;
  z-index: 1
}

body.endoca-custom-header-active .endoca-header-v2.is-open .backdrop {
  opacity: 1;
  visibility: visible;
  transition: opacity .3s
}

body.endoca-custom-header-active .endoca-header-v2 .drw {
  position: fixed;
  top: var(--top, 106px);
  left: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  overflow: hidden;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 24px 0 50px -30px rgba(17, 32, 24, .35);
  transform: translateX(-102%);
  visibility: hidden;
  transition: transform .32s var(--ease), visibility 0s .32s
}

body.endoca-custom-header-active .endoca-header-v2.is-open .drw {
  visibility: visible;
  transform: none;
  transition: transform .32s var(--ease)
}

body.endoca-custom-header-active .endoca-header-v2 .rail {
  width: calc(var(--edge) + 370px);
  flex: none;
  background: var(--cream);
  padding: 34px 34px 30px var(--edge);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain
}

body.endoca-custom-header-active .endoca-header-v2 .items {
  display: flex;
  flex-direction: column
}

body.endoca-custom-header-active .endoca-header-v2 .item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 8px 2px;
  border-bottom: 1px solid var(--line);
  font: 600 20px/1.15 var(--f-mont);
  letter-spacing: 0;
  color: var(--g-900);
  border-radius: 0px !important;
}

body.endoca-custom-header-active .endoca-header-v2 .item__t {
  transition: transform .3s var(--ease), color .2s
}

body.endoca-custom-header-active .endoca-header-v2 .item__go {
  margin-left: auto;
  width: 20px;
  height: 20px;
  stroke-width: 1.6;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .2s, transform .3s var(--ease)
}

body.endoca-custom-header-active .endoca-header-v2 .item:hover .item__go,
body.endoca-custom-header-active .endoca-header-v2 .item[aria-expanded="true"] .item__go {
  opacity: 1;
  transform: none
}

body.endoca-custom-header-active .endoca-header-v2 .item:hover .item__t,
body.endoca-custom-header-active .endoca-header-v2 .item[aria-expanded="true"] .item__t {
  transform: translateX(6px)
}

body.endoca-custom-header-active .endoca-header-v2 .item[aria-expanded="true"] {
  color: var(--g)
}

body.endoca-custom-header-active .endoca-header-v2 .item::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--edge));
  top: 50%;
  width: 4px;
  height: 0;
  border-radius: 0 3px 3px 0;
  background: var(--g);
  transform: translateY(-50%);
  transition: height .25s var(--ease)
}

body.endoca-custom-header-active .endoca-header-v2 .item[aria-expanded="true"]::before {
  height: 26px
}

body.endoca-custom-header-active .endoca-header-v2 .item__pill {
  font: 600 12px/1 var(--f-ui);
  letter-spacing: 0;
  color: var(--sale);
  border: 1px solid #e6b9a8;
  padding: 4px 7px;
  border-radius: 4px
}

body.endoca-custom-header-active .endoca-header-v2 .bogo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 10px 14px 10px 10px;
  border-radius: 10px;
  background: #fff;
  flex: none;
  transition: box-shadow .2s
}

body.endoca-custom-header-active .endoca-header-v2 .bogo:hover {
  box-shadow: 0 0 0 1.5px var(--g-900)
}

body.endoca-custom-header-active .endoca-header-v2 .bogo__imgs {
  display: flex;
  flex: none
}

body.endoca-custom-header-active .endoca-header-v2 .bogo__imgs span {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid #fff;
  margin-left: -8px;
  background: var(--cream)
}

body.endoca-custom-header-active .endoca-header-v2 .bogo__imgs span:first-child {
  margin-left: 0
}

body.endoca-custom-header-active .endoca-header-v2 .bogo__imgs img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

body.endoca-custom-header-active .endoca-header-v2 .bogo__t {
  font: 600 14px/1.25 var(--f-ui)
}

body.endoca-custom-header-active .endoca-header-v2 .bogo__t em {
  display: block;
  font-style: normal;
  font-weight: 400;
  font-size: 12.5px;
  color: var(--ink-3)
}

body.endoca-custom-header-active .endoca-header-v2 .bogo>svg {
  margin-left: auto;
  width: 18px;
  height: 18px;
  stroke-width: 1.6
}

body.endoca-custom-header-active .endoca-header-v2 .offer {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 146px;
  margin-top: 14px;
  border-radius: 10px;
  overflow: hidden;
  background: #33251d;
  color: #f3ede0;
  flex: none
}

body.endoca-custom-header-active .endoca-header-v2 .offer__b {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 0 16px 18px;
  width: 58%
}

body.endoca-custom-header-active .endoca-header-v2 .offer__eye {
  font: 400 12.5px/1.2 var(--f-ui);
  color: #d9c8a8
}

body.endoca-custom-header-active .endoca-header-v2 .offer__t {
  font: 600 36px/1 var(--f-display);
  letter-spacing: -1.2px;
  margin-top: 4px
}

body.endoca-custom-header-active .endoca-header-v2 .offer__s {
  font: 400 13px/1.3 var(--f-ui)
}

body.endoca-custom-header-active .endoca-header-v2 .offer__code {
  margin-top: auto;
  align-self: flex-start;
  font: 600 13px/1 var(--f-ui);
  letter-spacing: .08em;
  padding: 7px 12px;
  border-radius: 6px;
  background: #f3ede0;
  color: #33251d;
  position: relative
}

body.endoca-custom-header-active .endoca-header-v2 .offer__code {
  border: 1.5px dashed #33251d;
  outline: 3px solid #f3ede0
}

body.endoca-custom-header-active .endoca-header-v2 .offer__img {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 46%;
  overflow: hidden
}

body.endoca-custom-header-active .endoca-header-v2 .offer__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #33251d 0%, rgba(51, 37, 29, 0) 40%)
}

body.endoca-custom-header-active .endoca-header-v2 .offer__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 60%;
  transition: transform .5s var(--ease)
}

body.endoca-custom-header-active .endoca-header-v2 .offer__btn:hover .offer__img img,
body.endoca-custom-header-active .endoca-header-v2 .offer__btn:focus-visible .offer__img img {
  transform: scale(1.05)
}

body.endoca-custom-header-active .endoca-header-v2 .offer__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 6px;
  background: #f3ede0;
  color: #33251d;
  font: 600 13px/1 var(--f-btn)
}

body.endoca-custom-header-active .endoca-header-v2 .offer__btn svg {
  width: 14px;
  height: 14px
}

body.endoca-custom-header-active .endoca-header-v2 .offer__btn:hover {
  background: #fff
}

body.endoca-custom-header-active .endoca-header-v2 .rail .cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  margin-top: 16px;
  border-radius: 8px;
  background: var(--g);
  color: #fff;
  font: 500 16px/1 var(--f-btn);
  flex: none;
  transition: background .2s
}

body.endoca-custom-header-active .endoca-header-v2 .rail .cta:hover {
  background: var(--g-dk)
}

body.endoca-custom-header-active .endoca-header-v2 .rail .cta svg {
  width: 18px;
  height: 18px
}

body.endoca-custom-header-active .endoca-header-v2 .util {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
  border-top: 1px solid var(--line)
}

body.endoca-custom-header-active .endoca-header-v2 .util a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  font: 500 14px/1.2 var(--f-ui);
  color: var(--g-800);
  border-bottom: 1px solid var(--line)
}

body.endoca-custom-header-active .endoca-header-v2 .util a svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.5
}

body.endoca-custom-header-active .endoca-header-v2 .util a:hover {
  color: var(--g)
}



/* second column */
body.endoca-custom-header-active .endoca-header-v2 .panels {
  width: 0;
  overflow: hidden;
  transition: width .35s var(--ease)
}

body.endoca-custom-header-active .endoca-header-v2.has-panel .panels {
  width: 600px
}

body.endoca-custom-header-active .endoca-header-v2 .panel {
  display: none;
  width: 600px;
  height: 100%;
  flex-direction: column
}

body.endoca-custom-header-active .endoca-header-v2 .panel.is-on {
  display: flex;
  animation: endoca-header-panel-in .3s var(--ease)
}

@keyframes endoca-header-panel-in {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

body.endoca-custom-header-active .endoca-header-v2 .panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px 16px;
  flex: none
}

body.endoca-custom-header-active .endoca-header-v2 .panel__h {
  display: flex;
  flex-direction: column;
  gap: 4px
}

body.endoca-custom-header-active .endoca-header-v2 .panel__t {
  font: 600 30px/1.05 var(--f-display);
  letter-spacing: -.8px;
  color: var(--g-900)
}

body.endoca-custom-header-active .endoca-header-v2 .panel__n {
  font: 400 13.5px/1 var(--f-ui);
  color: var(--ink-3)
}

body.endoca-custom-header-active .endoca-header-v2 .panel__all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 14px/1 var(--f-ui);
  color: var(--g);
  padding-bottom: 4px;
  white-space: nowrap
}

body.endoca-custom-header-active .endoca-header-v2 .panel__all svg {
  width: 16px;
  height: 16px;
  transition: transform .2s
}

body.endoca-custom-header-active .endoca-header-v2 .panel__all:hover svg {
  transform: translateX(3px)
}

body.endoca-custom-header-active .endoca-header-v2 .panel__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px
}

body.endoca-custom-header-active .endoca-header-v2 .panel__body::-webkit-scrollbar {
  width: 6px
}

body.endoca-custom-header-active .endoca-header-v2 .panel__body::-webkit-scrollbar-thumb {
  background: var(--cream-2);
  border-radius: 3px
}

body.endoca-custom-header-active .endoca-header-v2 .back {
  display: none
}



/* product tile — arched frame */
body.endoca-custom-header-active .endoca-header-v2 .pgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 16px
}

body.endoca-custom-header-active .endoca-header-v2 .pt {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0
}

body.endoca-custom-header-active .endoca-header-v2 .pt__img {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--cream)
}

body.endoca-custom-header-active .endoca-header-v2 .pt__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease)
}

body.endoca-custom-header-active .endoca-header-v2 .pt:hover .pt__img img {
  transform: scale(1.05)
}

body.endoca-custom-header-active .endoca-header-v2 img.on-white {
  mix-blend-mode: multiply;
  object-fit: contain !important;
  padding: 8%
}

body.endoca-custom-header-active .endoca-header-v2 .pt__img,
body.endoca-custom-header-active .endoca-header-v2 .idx__img,
body.endoca-custom-header-active .endoca-header-v2 .bogo__imgs span {
  isolation: isolate
}

body.endoca-custom-header-active .endoca-header-v2 .pt__tag {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 1;
  font: 600 12px/1 var(--f-ui);
  padding: 5px 8px;
  border-radius: 4px;
  background: #fff;
  color: var(--sale);
  white-space: nowrap
}

body.endoca-custom-header-active .endoca-header-v2 .pt__tag--new {
  color: var(--g)
}

body.endoca-custom-header-active .endoca-header-v2 .pt__b {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 2px
}

body.endoca-custom-header-active .endoca-header-v2 .pt__t {
  font: 500 17px/1.3 var(--f-display);
  color: var(--ink);
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

body.endoca-custom-header-active .endoca-header-v2 .pt__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px
}

body.endoca-custom-header-active .endoca-header-v2 .pt__p {
  font: 500 14px/1 var(--f-display);
  color: var(--ink-2)
}

body.endoca-custom-header-active .endoca-header-v2 .pt__go {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--g-900);
  transition: background .2s, border-color .2s, color .2s
}

body.endoca-custom-header-active .endoca-header-v2 .pt__go svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.8
}

body.endoca-custom-header-active .endoca-header-v2 .pt:hover .pt__go {
  background: var(--g);
  border-color: var(--g);
  color: #fff
}

body.endoca-custom-header-active .endoca-header-v2 .pt:hover .pt__t {
  color: var(--g)
}



/* shop by need — photo with a cream label */
body.endoca-custom-header-active .endoca-header-v2 .needs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

body.endoca-custom-header-active .endoca-header-v2 .nd {
  position: relative;
  display: block;
  aspect-ratio: 900/507;
  border-radius: 10px;
  overflow: hidden;
  background: var(--cream)
}

body.endoca-custom-header-active .endoca-header-v2 .nd__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease)
}

body.endoca-custom-header-active .endoca-header-v2 .nd:hover .nd__img img {
  transform: scale(1.05)
}

body.endoca-custom-header-active .endoca-header-v2 .nd__lbl {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 7px 12px 8px;
  border-radius: 6px;
  background: rgba(251, 250, 246, .94);
  max-width: calc(100% - 20px)
}

body.endoca-custom-header-active .endoca-header-v2 .nd__lbl b {
  font: 500 17px/1.15 var(--f-display);
  color: var(--g-900)
}

body.endoca-custom-header-active .endoca-header-v2 .nd__lbl span {
  font: 400 12.5px/1.2 var(--f-ui);
  color: var(--ink-3)
}



/* green call-out strip */
body.endoca-custom-header-active .endoca-header-v2 .strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 10px;
  background: var(--g-900);
  color: #efe9da;
  flex: none;
  transition: background .2s
}

body.endoca-custom-header-active .endoca-header-v2 .strip__go:hover {
  background: #efe9da
}

body.endoca-custom-header-active .endoca-header-v2 .strip__b {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0
}

body.endoca-custom-header-active .endoca-header-v2 .strip__t {
  font: 500 17px/1.2 var(--f-display);
  color: #fff
}

body.endoca-custom-header-active .endoca-header-v2 .strip__s {
  font: 400 13.5px/1.35 var(--f-ui);
  color: #cfd8cc
}

body.endoca-custom-header-active .endoca-header-v2 .strip__go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 11px 16px;
  border-radius: 8px;
  background: #efe9da;
  color: var(--g-900);
  font: 500 14px/1 var(--f-btn)
}

body.endoca-custom-header-active .endoca-header-v2 .strip__go svg {
  width: 16px;
  height: 16px
}



/* editorial index (categories) */
body.endoca-custom-header-active .endoca-header-v2 .sub {
  font: 400 13.5px/1 var(--f-ui);
  color: var(--ink-3);
  margin: 6px 0 -8px
}

body.endoca-custom-header-active .endoca-header-v2 .idx {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line)
}

body.endoca-custom-header-active .endoca-header-v2 .idx__a {
  display: grid;
  grid-template-columns: 52px 1fr auto 20px;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  padding: 8px 6px;
  border-bottom: 1px solid var(--line);
  transition: background .2s, padding .3s var(--ease)
}

body.endoca-custom-header-active .endoca-header-v2 .idx__a:hover {
  background: var(--paper);
  padding-left: 12px
}

body.endoca-custom-header-active .endoca-header-v2 .idx__img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--cream)
}

body.endoca-custom-header-active .endoca-header-v2 .idx__img img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

body.endoca-custom-header-active .endoca-header-v2 .idx__t {
  font: 500 17px/1.2 var(--f-display);
  color: var(--g-900)
}

body.endoca-custom-header-active .endoca-header-v2 .idx__m {
  font: 400 13.5px/1 var(--f-ui);
  color: var(--ink-3)
}

body.endoca-custom-header-active .endoca-header-v2 .idx__go {
  width: 20px;
  height: 20px;
  stroke-width: 1.6;
  color: var(--g-900);
  transition: transform .25s var(--ease)
}

body.endoca-custom-header-active .endoca-header-v2 .idx__a:hover .idx__go {
  transform: translateX(4px);
  color: var(--g)
}



/* journal: feature + numbered list */
body.endoca-custom-header-active .endoca-header-v2 .jf {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch
}

body.endoca-custom-header-active .endoca-header-v2 .jf__img {
  border-radius: 10px;
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 4/3
}

body.endoca-custom-header-active .endoca-header-v2 .jf__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease)
}

body.endoca-custom-header-active .endoca-header-v2 .jf:hover .jf__img img {
  transform: scale(1.04)
}

body.endoca-custom-header-active .endoca-header-v2 .jf__b {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center
}

body.endoca-custom-header-active .endoca-header-v2 .jf__t {
  font: 500 17px/1.25 var(--f-display);
  color: var(--g-900)
}

body.endoca-custom-header-active .endoca-header-v2 .jf__d {
  font: 400 14px/1.45 var(--f-ui);
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden
}

body.endoca-custom-header-active .endoca-header-v2 .jf__go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 14px/1 var(--f-ui);
  color: var(--g);
  margin-top: 4px
}

body.endoca-custom-header-active .endoca-header-v2 .jf__go svg {
  width: 16px;
  height: 16px;
  transition: transform .2s
}

body.endoca-custom-header-active .endoca-header-v2 .jf:hover .jf__go svg {
  transform: translateX(3px)
}

body.endoca-custom-header-active .endoca-header-v2 .jl {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line)
}

body.endoca-custom-header-active .endoca-header-v2 .jl a {
  display: grid;
  grid-template-columns: 34px 1fr 64px;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line)
}

body.endoca-custom-header-active .endoca-header-v2 .jl__n {
  font: 400 13px/1 var(--f-ui);
  color: var(--ink-3);
  font-variant-numeric: tabular-nums
}

body.endoca-custom-header-active .endoca-header-v2 .jl__t {
  font: 500 17px/1.25 var(--f-display);
  color: var(--g-900);
  transition: color .2s
}

body.endoca-custom-header-active .endoca-header-v2 .jl a:hover .jl__t {
  color: var(--g)
}

body.endoca-custom-header-active .endoca-header-v2 .jl__img {
  width: 64px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--cream)
}

body.endoca-custom-header-active .endoca-header-v2 .jl__img img {
  width: 100%;
  height: 100%;
  object-fit: cover
}



/* ---------- responsive ---------- */
@media (max-width:1280px) {
  body.endoca-custom-header-active .endoca-header-v2 .bar {
    gap: 18px
  }

  body.endoca-custom-header-active .endoca-header-v2 .bar__nav {
    gap: 18px
  }

  body.endoca-custom-header-active .endoca-header-v2 .search {
    width: 190px
  }



}

@media (max-width:1320px) {
  body.endoca-custom-header-active .endoca-header-v2 .bar__link--offer {
    display: none
  }



}

@media (max-width:1180px) {
  body.endoca-custom-header-active .endoca-header-v2 .search {
    width: 44px;
    padding: 0;
    justify-content: center
  }

  body.endoca-custom-header-active .endoca-header-v2 .search input {
    display: none
  }



}

@media (min-width:1025px) and (max-width:1100px) {
  body.endoca-custom-header-active .endoca-header-v2 .bar__nav .bar__link:nth-child(3) {
    display: none
  }



}

@media (min-width:1025px) and (max-height:820px) {
  body.endoca-custom-header-active .endoca-header-v2 .rail {
    padding-top: 26px;
    padding-bottom: 22px
  }

  body.endoca-custom-header-active .endoca-header-v2 .item {
    min-height: 50px
  }

  body.endoca-custom-header-active .endoca-header-v2 .offer {
    min-height: 132px
  }

  body.endoca-custom-header-active .endoca-header-v2 .offer__t {
    font-size: 32px
  }

  body.endoca-custom-header-active .endoca-header-v2 .rail .cta {
    min-height: 46px;
    margin-top: 14px
  }

  body.endoca-custom-header-active .endoca-header-v2 .offer__img {
    top: 8px
  }

  body.endoca-custom-header-active .endoca-header-v2 .panel__head {
    padding-top: 18px;
    padding-bottom: 12px
  }

  body.endoca-custom-header-active .endoca-header-v2 .panel__t {
    font-size: 26px
  }

  body.endoca-custom-header-active .endoca-header-v2 .pgrid {
    gap: 16px 14px
  }

  body.endoca-custom-header-active .endoca-header-v2 .pt__img {
    aspect-ratio: 1/1
  }




}

@media (min-width:1025px) and (max-height:800px) {
  body.endoca-custom-header-active .endoca-header-v2 .rail {
    padding-top: 22px;
    padding-bottom: 18px
  }

  body.endoca-custom-header-active .endoca-header-v2 .item {
    min-height: 47px
  }

  body.endoca-custom-header-active .endoca-header-v2 .offer {
    min-height: 124px;
    margin-top: 18px
  }

  body.endoca-custom-header-active .endoca-header-v2 .offer__t {
    font-size: 30px
  }

  body.endoca-custom-header-active .endoca-header-v2 .rail .cta {
    min-height: 44px;
    margin-top: 12px
  }



}

@media (min-width:1025px) and (max-height:730px) {
  body.endoca-custom-header-active .endoca-header-v2 .rail {
    padding-top: 18px
  }

  body.endoca-custom-header-active .endoca-header-v2 .item {
    min-height: 42px
  }




}

@media (min-width:1025px) and (max-height:900px) {
  body.endoca-custom-header-active .endoca-header-v2 .bogo {
    display: none
  }

  body.endoca-custom-header-active .endoca-header-v2 .offer {
    margin-top: 16px
  }



}

@media (min-width:1025px) and (max-height:730px) {
  body.endoca-custom-header-active .endoca-header-v2 .offer {
    min-height: 118px
  }

  body.endoca-custom-header-active .endoca-header-v2 .offer__t {
    font-size: 27px
  }



}

@media (max-width:1024px) {
  body.endoca-custom-header-active .endoca-header-v2 .bar {
    height: 60px;
    gap: 0;
    padding: 0 10px;
    grid-template-columns: auto 1fr auto
  }

  body.endoca-custom-header-active .endoca-header-v2 .bar__nav,
  body.endoca-custom-header-active .endoca-header-v2 .search,
  body.endoca-custom-header-active .endoca-header-v2 .ic--acct,
  body.endoca-custom-header-active .endoca-header-v2 .ic--wish {
    display: none
  }

  body.endoca-custom-header-active .endoca-header-v2 .item {
    min-height: 54px
  }

  body.endoca-custom-header-active .endoca-header-v2 .burger {
    display: grid
  }

  body.endoca-custom-header-active .endoca-header-v2 .bar__logo img {
    width: 122px
  }

  body.endoca-custom-header-active .endoca-header-v2 .bar__end {
    margin-left: 0
  }

  body.endoca-custom-header-active .endoca-header-v2 .cart {
    padding: 0 13px;
    height: 38px
  }

  body.endoca-custom-header-active .endoca-header-v2 .ann__dots {
    display: none
  }

  body.endoca-custom-header-active .endoca-header-v2 .ann__msg .l {
    display: none
  }

  body.endoca-custom-header-active .endoca-header-v2 .ann__msg .s {
    display: inline
  }

  body.endoca-custom-header-active .endoca-header-v2 .drw {
    inset: 0;
    top: 0;
    width: min(460px, 100vw);
    display: block;
    border: 0
  }

  body.endoca-custom-header-active .endoca-header-v2.is-open .drw {
    transform: none;
    transition: transform .32s var(--ease)
  }

  body.endoca-custom-header-active .endoca-header-v2 .backdrop {
    top: 0;
    z-index: 5
  }

  body.endoca-custom-header-active .endoca-header-v2 .drw {
    z-index: 6
  }

  body.endoca-custom-header-active .endoca-header-v2 .drw__top {
    display: flex !important
  }

  body.endoca-custom-header-active .endoca-header-v2 .rail {
    width: 100%;
    height: calc(100% - 60px);
    padding: 20px 20px 28px
  }

  body.endoca-custom-header-active .endoca-header-v2 .item::before {
    left: -18px
  }

  body.endoca-custom-header-active .endoca-header-v2 .panels,
  body.endoca-custom-header-active .endoca-header-v2.has-panel .panels {
    position: absolute;
    inset: 60px 0 0 0;
    z-index: 4;
    width: 100%;
    background: #fff;
    transform: translateX(100%);
    transition: transform .32s var(--ease);
    overflow: hidden
  }

  body.endoca-custom-header-active .endoca-header-v2.has-panel .panels {
    transform: none
  }

  body.endoca-custom-header-active .endoca-header-v2 .panel {
    width: 100%
  }

  body.endoca-custom-header-active .endoca-header-v2 .panel__head {
    padding: 12px 18px 12px;
    flex-wrap: wrap
  }

  body.endoca-custom-header-active .endoca-header-v2 .back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    font: 500 14.5px/1 var(--f-ui);
    color: var(--g);
    min-height: 34px
  }

  body.endoca-custom-header-active .endoca-header-v2 .back svg {
    width: 18px;
    height: 18px
  }

  body.endoca-custom-header-active .endoca-header-v2 .panel__t {
    font-size: 26px
  }

  body.endoca-custom-header-active .endoca-header-v2 .panel__body {
    padding: 4px 18px 28px
  }

  body.endoca-custom-header-active .endoca-header-v2 .pgrid {
    grid-template-columns: 1fr 1fr
  }

  body.endoca-custom-header-active .endoca-header-v2 .jf {
    grid-template-columns: 1fr
  }

  body.endoca-custom-header-active .endoca-header-v2 .nd__lbl {
    left: 8px;
    bottom: 8px;
    padding: 5px 9px 6px;
    border-radius: 9px
  }

  body.endoca-custom-header-active .endoca-header-v2 .nd__lbl span {
    display: none
  }

  body.endoca-custom-header-active .endoca-header-v2 .needs {
    gap: 10px
  }




}

body.endoca-custom-header-active .endoca-header-v2 .drw__top {
  display: none;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 10px 0 18px;
  background: var(--cream);
  border-bottom: 1px solid var(--line)
}

body.endoca-custom-header-active .endoca-header-v2 .drw__top img {
  width: 118px
}

body.endoca-custom-header-active .endoca-header-v2 .drw__ics {
  display: flex;
  align-items: center;
  gap: 2px
}

@media (max-width:420px) {
  body.endoca-custom-header-active .endoca-header-v2 .strip {
    flex-direction: column;
    align-items: flex-start
  }

  body.endoca-custom-header-active .endoca-header-v2 .idx__m {
    display: none
  }

  body.endoca-custom-header-active .endoca-header-v2 .idx__a {
    grid-template-columns: 48px 1fr 20px
  }

  body.endoca-custom-header-active .endoca-header-v2 .idx__img {
    width: 48px;
    height: 48px
  }



}



/* ===== mobile-only pieces (hidden on desktop) ===== */
body.endoca-custom-header-active .endoca-header-v2 .ic--srch,
body.endoca-custom-header-active .endoca-header-v2 .panel__foot {
  display: none
}



/* ===== Mobile & tablet (≤1024px) ===== */
@media (max-width:1024px) {


  /* bar: menu · logo · search + cart */
  body.endoca-custom-header-active .endoca-header-v2 .bar {
    padding: 0 8px 0 6px
  }

  body.endoca-custom-header-active .endoca-header-v2 .burger,
  body.endoca-custom-header-active .endoca-header-v2 .ic--srch {
    width: 44px;
    height: 44px
  }

  body.endoca-custom-header-active .endoca-header-v2 .ic--srch {
    display: grid
  }

  body.endoca-custom-header-active .endoca-header-v2 .bar__end {
    gap: 2px
  }

  body.endoca-custom-header-active .endoca-header-v2 .bar__end .cart {
    margin-left: 6px
  }

  body.endoca-custom-header-active .endoca-header-v2 .ic svg {
    width: 23px;
    height: 23px
  }



  /* drawer top: bigger tap targets */
  body.endoca-custom-header-active .endoca-header-v2 .drw__top {
    padding: 0 6px 0 18px
  }

  body.endoca-custom-header-active .endoca-header-v2 .drw__ics .ic {
    width: 44px;
    height: 44px
  }



  /* menu rows: always show the chevron so it's clear each row opens */
  body.endoca-custom-header-active .endoca-header-v2 .item {
    min-height: 58px;
    padding: 8px 0;
    font-size: 18px
  }

  body.endoca-custom-header-active .endoca-header-v2 .item__go {
    opacity: 1;
    transform: none;
    color: var(--ink-3);
    width: 20px;
    height: 20px
  }

  body.endoca-custom-header-active .endoca-header-v2 .item:active {
    background: rgba(31, 61, 52, .04)
  }

  body.endoca-custom-header-active .endoca-header-v2 .item::before {
    display: none
  }

  body.endoca-custom-header-active .endoca-header-v2 .bogo {
    margin-top: 10px
  }

  body.endoca-custom-header-active .endoca-header-v2 .rail .cta {
    min-height: 52px
  }

  body.endoca-custom-header-active .endoca-header-v2 .rail {
    padding-bottom: calc(28px + env(safe-area-inset-bottom))
  }



  /* sub-menu header: back arrow and title on one line */
  body.endoca-custom-header-active .endoca-header-v2 .panel__head {
    flex-wrap: nowrap;
    gap: 6px;
    padding: 10px 18px 12px 8px;
    border-bottom: 1px solid var(--line)
  }

  body.endoca-custom-header-active .endoca-header-v2 .back {
    width: 44px;
    height: 44px;
    min-height: 0;
    flex: none;
    justify-content: center;
    border-radius: 8px;
    color: var(--g-900)
  }

  body.endoca-custom-header-active .endoca-header-v2 .back span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0)
  }

  body.endoca-custom-header-active .endoca-header-v2 .back svg {
    width: 22px;
    height: 22px
  }

  body.endoca-custom-header-active .endoca-header-v2 .panel__h {
    flex: 1;
    min-width: 0
  }

  body.endoca-custom-header-active .endoca-header-v2 .panel__t {
    font-size: 24px;
    letter-spacing: -.5px
  }

  body.endoca-custom-header-active .endoca-header-v2 .panel__all {
    display: none
  }

  body.endoca-custom-header-active .endoca-header-v2 .panel__body {
    padding: 18px 18px 0;
    gap: 16px
  }



  /* sticky full-width button at the bottom of each sub-menu */
  body.endoca-custom-header-active .endoca-header-v2 .panel__foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: sticky;
    bottom: 0;
    z-index: 2;
    flex: none;
    margin: auto -18px 0;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 -1px 0 var(--line);
    color: #fff;
    font: 500 16px/1 var(--f-ui)
  }

  body.endoca-custom-header-active .endoca-header-v2 .panel__foot::before {
    content: "";
    position: absolute;
    inset: 12px 18px calc(12px + env(safe-area-inset-bottom));
    border-radius: 8px;
    background: var(--g);
    z-index: -1;
    transition: background .2s
  }

  body.endoca-custom-header-active .endoca-header-v2 .panel__foot:active::before {
    background: var(--g-dk)
  }

  body.endoca-custom-header-active .endoca-header-v2 .panel__foot {
    min-height: 76px
  }

  body.endoca-custom-header-active .endoca-header-v2 .panel__foot svg {
    width: 18px;
    height: 18px
  }

  body.endoca-custom-header-active .endoca-header-v2 .panel__body:not(:has(.panel__foot)) {
    padding-bottom: 24px
  }



  /* product cards */
  body.endoca-custom-header-active .endoca-header-v2 .pgrid {
    gap: 18px 12px
  }

  body.endoca-custom-header-active .endoca-header-v2 .pt__t {
    font-size: 15.5px
  }

  body.endoca-custom-header-active .endoca-header-v2 .pt__go {
    width: 32px;
    height: 32px
  }



  /* Learn / Our story feature: wide image instead of square */
  body.endoca-custom-header-active .endoca-header-v2 .jf__img {
    aspect-ratio: 16/10
  }

  body.endoca-custom-header-active .endoca-header-v2 .jl a {
    min-height: 64px
  }




}


/* phones in landscape: keep the bottom button in the flow so the content gets the room */
@media (max-width:1024px) and (max-height:500px) {
  body.endoca-custom-header-active .endoca-header-v2 .panel__foot {
    position: relative;
    margin-top: 8px;
    box-shadow: none
  }

  body.endoca-custom-header-active .endoca-header-v2 .panel__head {
    padding-top: 4px;
    padding-bottom: 4px
  }

  body.endoca-custom-header-active .endoca-header-v2 .panel__t {
    font-size: 21px
  }

  body.endoca-custom-header-active .endoca-header-v2 .panel__body {
    padding-top: 12px
  }




}


/* rituals tag: short text on narrow phones */
body.endoca-custom-header-active .endoca-header-v2 .item__pill {
  white-space: nowrap
}

body.endoca-custom-header-active .endoca-header-v2 .item__pill .ps {
  display: none
}

@media (max-width:360px) {
  body.endoca-custom-header-active .endoca-header-v2 .item__pill .pl {
    display: none
  }

  body.endoca-custom-header-active .endoca-header-v2 .item__pill .ps {
    display: inline
  }

  body.endoca-custom-header-active .endoca-header-v2 .item {
    font-size: 18px
  }

  body.endoca-custom-header-active .endoca-header-v2 .item__t {
    white-space: nowrap
  }



}


/* small phones */
@media (max-width:380px) {
  body.endoca-custom-header-active .endoca-header-v2 .item {
    min-height: 54px
  }

  body.endoca-custom-header-active .endoca-header-v2 .pgrid {
    gap: 16px 10px
  }

  body.endoca-custom-header-active .endoca-header-v2 .pt__t {
    font-size: 15px
  }

  body.endoca-custom-header-active .endoca-header-v2 .panel__t {
    font-size: 22px
  }

  body.endoca-custom-header-active .endoca-header-v2 .bar__logo img {
    width: 112px
  }




}


/* tablets: the drawer is a side sheet, so give the grids a bit more room */
@media (min-width:600px) and (max-width:1024px) {
  body.endoca-custom-header-active .endoca-header-v2 .drw {
    width: 480px
  }

  body.endoca-custom-header-active .endoca-header-v2 .rail {
    padding: 24px 28px calc(28px + env(safe-area-inset-bottom))
  }

  body.endoca-custom-header-active .endoca-header-v2 .panel__head {
    padding-left: 14px;
    padding-right: 28px
  }

  body.endoca-custom-header-active .endoca-header-v2 .panel__body {
    padding: 20px 28px 0
  }

  body.endoca-custom-header-active .endoca-header-v2 .panel__foot {
    margin: auto -28px 0;
    padding-left: 28px;
    padding-right: 28px
  }

  body.endoca-custom-header-active .endoca-header-v2 .panel__foot::before {
    left: 28px;
    right: 28px
  }




}


/* mobile type scale: even sizes only, nothing under 12px */
@media (max-width:1024px) {

  body.endoca-custom-header-active .endoca-header-v2 .offer__eye,
  body.endoca-custom-header-active .endoca-header-v2 .bogo__t em {
    font-size: 12px
  }

  body.endoca-custom-header-active .endoca-header-v2 .jl__n {
    font-size: 12px
  }

  body.endoca-custom-header-active .endoca-header-v2 .offer__s,
  body.endoca-custom-header-active .endoca-header-v2 .offer__code {
    font-size: 14px
  }

  body.endoca-custom-header-active .endoca-header-v2 .strip__s,
  body.endoca-custom-header-active .endoca-header-v2 .sub,
  body.endoca-custom-header-active .endoca-header-v2 .idx__m {
    font-size: 14px
  }

  body.endoca-custom-header-active .endoca-header-v2 .back,
  body.endoca-custom-header-active .endoca-header-v2 .back span {
    font-size: 14px
  }

  body.endoca-custom-header-active .endoca-header-v2 .pt__t {
    font-size: 14px
  }

  body.endoca-custom-header-active .endoca-header-v2 .idx__t,
  body.endoca-custom-header-active .endoca-header-v2 .jf__t,
  body.endoca-custom-header-active .endoca-header-v2 .jl__t,
  body.endoca-custom-header-active .endoca-header-v2 .strip__t,
  body.endoca-custom-header-active .endoca-header-v2 .nd__lbl b,
  body.endoca-custom-header-active .endoca-header-v2 .vh {
    font-size: 16px
  }

  body.endoca-custom-header-active .endoca-header-v2 .panel__t {
    font-size: 24px
  }



}

@media (max-width:380px) {
  body.endoca-custom-header-active .endoca-header-v2 .panel__t {
    font-size: 18px
  }

  body.endoca-custom-header-active .endoca-header-v2 .pt__t {
    font-size: 14px
  }



}

@media (max-width:1024px) and (max-height:500px) {
  body.endoca-custom-header-active .endoca-header-v2 .panel__t {
    font-size: 18px
  }



}

@media (prefers-reduced-motion:reduce) {
  body.endoca-custom-header-active .endoca-header-v2 * {
    transition: none !important;
    animation: none !important
  }



}



/* WordPress and XStore integration */
body.endoca-custom-header-active .endoca-header-v2 {
  width: 100%;
  isolation: isolate;
  top: var(--eh-admin-offset, 0px);
}

body.endoca-custom-header-active .endoca-header-v2 [hidden] {
  display: none !important;
}

body.endoca-custom-header-active .endoca-header-v2 :is(a, button, input) {
  text-decoration: none;
  -webkit-text-fill-color: currentColor;
}

body.endoca-custom-header-active .endoca-header-v2 :is(button, input) {
  letter-spacing: normal;
  text-transform: none;
  box-shadow: none;
}

body.endoca-custom-header-active .endoca-header-v2 button {
  appearance: none;
  min-width: 0;
}

body.endoca-custom-header-active .endoca-header-v2 .bar__logo .custom-logo-link {
  display: block;
}

body.endoca-custom-header-active .endoca-header-v2 .bar__logo img {
  height: auto !important;
  max-height: none !important;
}

body.endoca-custom-header-active .endoca-header-v2 .search {
  margin-bottom: 0;
}

body.endoca-custom-header-active .endoca-header-v2 .search input[type=search] {
  box-sizing: border-box;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
}

body.endoca-custom-header-active .endoca-header-v2 .search input[type=hidden] {
  display: none;
}

body.endoca-custom-header-active .endoca-header-v2 .drw[inert] {
  pointer-events: none;
}

body.endoca-custom-header-active .endoca-header-v2 .panel[aria-hidden=true] {
  display: none !important;
}

body.endoca-custom-header-active .endoca-header-v2 .cart,
body.endoca-custom-header-active .endoca-header-v2 .cart:hover {
  color: #fff;
}

body.endoca-custom-header-active .endoca-header-v2 .backdrop {
  pointer-events: none;
}

body.endoca-custom-header-active .endoca-header-v2.is-open .backdrop {
  pointer-events: auto;
}

body.endoca-custom-header-active :is(header.elementor-location-header, .etheme-elementor-header-wrapper, .etheme-elementor-header-sticky-parts, .etheme-elementor-header-wrapper-spacer) {
  display: none !important;
}

html.eh-mega-open {
  overflow: hidden;
}

/* Keep product search usable when the desktop search field collapses. */
@media (min-width:1025px) and (max-width:1180px) {
  body.endoca-custom-header-active .endoca-header-v2 .search {
    display: none;
  }

  body.endoca-custom-header-active .endoca-header-v2 .ic--srch {
    display: grid;
  }


}

@media (max-width:1024px) {
  body.endoca-custom-header-active .endoca-header-v2 .drw {
    top: var(--eh-admin-offset, 0px);
  }

  body.endoca-custom-header-active .endoca-header-v2 .backdrop {
    top: var(--eh-admin-offset, 0px);
  }


}


/* Reuse the existing main-header form when the compact search icon is clicked. */
@media (max-width:1180px) {
  body.endoca-custom-header-active .endoca-header-v2.is-search-open .bar__end .search {
    display: flex;
    position: absolute;
    top: 100%;
    left: 10px;
    right: 10px;
    width: auto;
    height: 48px;
    margin: 0;
    padding: 0 16px;
    justify-content: flex-start;
    border: 1px solid var(--line);
    background: var(--paper);
    z-index: 7;
  }

  body.endoca-custom-header-active .endoca-header-v2.is-search-open .search input[type=search] {
    display: block;
    flex: 1;
    font-size: 16px;
  }
}


/* On-demand placeholders follow the existing card sizes and responsive grid. */
body.endoca-custom-header-active .endoca-header-v2 .eh-skeleton {
  display: block;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #ebebeb;
  border-radius: 6px;
}

body.endoca-custom-header-active .endoca-header-v2 .pt__img.eh-skeleton {
  border-radius: 10px;
}

body.endoca-custom-header-active .endoca-header-v2 .eh-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #ebebeb 0%, #f5f5f5 50%, #ebebeb 100%);
  transform: translateX(-100%);
  animation: eh-skeleton-shimmer 1.5s ease-in-out infinite;
}

body.endoca-custom-header-active .endoca-header-v2 .eh-skeleton-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  min-height: 2.6em;
  font: 500 17px/1.3 var(--f-display);
}

body.endoca-custom-header-active .endoca-header-v2 .eh-skeleton--text {
  height: .8em;
  width: 94%;
}

body.endoca-custom-header-active .endoca-header-v2 .eh-skeleton--text-short {
  height: .8em;
  width: 66%;
}

body.endoca-custom-header-active .endoca-header-v2 .eh-skeleton--price {
  height: 14px;
  width: 45%;
}

body.endoca-custom-header-active .endoca-header-v2 .eh-skeleton--arrow {
  height: 30px;
  width: 30px;
  flex-shrink: 0;
}

body.endoca-custom-header-active .endoca-header-v2 .eh-skeleton--thumb {
  width: 40px;
  height: 48px;
}

body.endoca-custom-header-active .endoca-header-v2 .eh-skeleton-list {
  display: grid;
  gap: 16px;
}

body.endoca-custom-header-active .endoca-header-v2 .eh-skeleton--row {
  height: 90px;
}

body.endoca-custom-header-active .endoca-header-v2 .eh-load-retry {
  cursor: pointer;
  text-decoration: underline;
}

@keyframes eh-skeleton-shimmer {
  to {
    transform: translateX(100%);
  }
}

@media (max-width: 1024px) {
  body.endoca-custom-header-active .endoca-header-v2 .eh-skeleton-title {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.endoca-custom-header-active .endoca-header-v2 .eh-skeleton::after {
    animation: none;
    display: none;
  }
}


/* Keep the XStore drawer outside the header's styling and stacking context. */
#endoca-cart-drawer-host {
  position: relative;
  z-index: 100100;
}

#endoca-cart-drawer-host .etheme-elementor-off-canvas__toggle {
  display: none !important;
}


/* Tablet/mobile search lives inside the drawer, using the same native form. */
@media (max-width: 1024px) {
  body.endoca-custom-header-active .endoca-header-v2 .rail>.search {
    display: flex;
    flex: 0 0 48px;
    justify-content: flex-start;
    width: 100%;
    height: 48px;
    margin: 0 0 24px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }

  body.endoca-custom-header-active .endoca-header-v2 .rail>.search input[type=search] {
    display: block;
    font-size: 16px;
  }
}


/* Reference sidebar label and static tablet/mobile quiz card. */
body.endoca-custom-header-active .endoca-header-v2 .rail__lbl {
  font: 400 13.5px/1 var(--f-ui);
  color: var(--ink-3);
  margin: 0 0 12px 2px;
}

body.endoca-custom-header-active .endoca-header-v2 .mquiz {
  display: none;
}

@media (max-width: 1024px) {
  body.endoca-custom-header-active .endoca-header-v2 .rail__lbl {
    font-size: 14px;
  }

  body.endoca-custom-header-active .endoca-header-v2 .mquiz {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 10px 14px 10px 10px;
    border-radius: 10px;
    background: #fff;
    flex: none;
    color: var(--g-900);
  }

  body.endoca-custom-header-active .endoca-header-v2 .mquiz__ic {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--tint);
    display: grid;
    place-items: center;
    flex: none;
  }

  body.endoca-custom-header-active .endoca-header-v2 .mquiz__ic svg {
    width: 21px;
    height: 21px;
    stroke-width: 1.6;
  }

  body.endoca-custom-header-active .endoca-header-v2 .mquiz__t {
    font: 600 14px/1.25 var(--f-ui);
  }

  body.endoca-custom-header-active .endoca-header-v2 .mquiz__t em {
    display: block;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    color: var(--ink-3);
  }

  body.endoca-custom-header-active .endoca-header-v2 .mquiz>svg {
    margin-left: auto;
    width: 18px;
    height: 18px;
    flex: none;
  }

  body.endoca-custom-header-active .endoca-header-v2 .mquiz+.bogo {
    margin-top: 10px;
  }
}


#endoca-wishlist-drawer-host {
  position: relative;
  z-index: 100100;
}

#endoca-wishlist-drawer-host .etheme-elementor-off-canvas__toggle {
  display: none !important;
}


/* Saved wishlist template is a Header; exempt it from old-header hiding. */
body.endoca-custom-header-active #endoca-wishlist-drawer-host>header {
  display: block !important;
  position: static !important;
}

body.endoca-custom-header-active #endoca-cart-drawer-host>header {
  display: block !important;
  position: static !important;
}

.endoca-header-v2 .search input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.endoca-header-v2 .search .eh-search-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1f3d34;
  font: 24px/1 Arial, sans-serif;
  cursor: pointer;
}

.endoca-header-v2 .search .eh-search-clear[hidden] {
  display: none;
}