.lf-masthead,
.lf-colophon {
  --lf-nav-gutter: clamp(15px, 4vw, 3rem);
  color: #232426;
}

.lf-masthead {
  position: relative;
  z-index: 5;
  background: white;
}
.lf-masthead-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, .2fr) auto;
  grid-template-areas: "brand menu . actions";
  align-items: center;
  width: min(100%, 100rem);
  min-height: clamp(94px, 31vw, 124px);
  margin-inline: auto;
  padding-inline: clamp(.75rem, 4vw, 1.5rem);
}
.lf-masthead a, .lf-colophon a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: .3em;
}
.lf-masthead a:hover, .lf-colophon a:hover { text-decoration: underline; }
.lf-masthead-signature { grid-area: brand; display: inline-flex; align-items: center; min-height: 44px; min-width: 0; max-width: 100%; justify-self: start; }
.lf-masthead-signature img, .lf-colophon-signature img { display: block; height: auto; }
.lf-masthead-signature img { width: clamp(122px, 39vw, 180px); max-width: 100%; }
.lf-masthead-nav { display: none; }
.lf-drawer { grid-area: menu; }
.lf-masthead-actions { grid-area: actions; display: flex; align-items: center; gap: clamp(0px, 1vw - 3px, 8px); }
.lf-masthead .lf-masthead-actions > a, .lf-masthead :is(.lf-drawer, .lf-search) > summary {
  display: inline-flex;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #181a1c;
}
.lf-masthead :is(.lf-drawer, .lf-search) > summary { cursor: pointer; list-style: none; }
.lf-masthead summary::-webkit-details-marker { display: none; }
.lf-masthead summary:focus-visible { outline-offset: -3px; }

.lf-menu-icon {
  position: relative;
  width: 20px; height: 16px;
  border-block: 1.7px solid currentColor;
}
.lf-menu-icon::after {
  position: absolute; top: calc(50% - .8px); inset-inline: 0;
  height: 1.6px; background: currentColor; content: "";
}
.lf-drawer[open] .lf-menu-icon { border: 0; }
.lf-drawer[open] .lf-menu-icon::before, .lf-drawer[open] .lf-menu-icon::after {
  position: absolute; top: 7px; inset-inline: 0; height: 1.6px; background: currentColor; content: "";
}
.lf-drawer[open] .lf-menu-icon::before { transform: rotate(45deg); }
.lf-drawer[open] .lf-menu-icon::after { transform: rotate(-45deg); }
.lf-search-icon {
  position: relative; width: 16px; height: 16px;
  margin: -3px 3px 0 0; border: 1.7px solid currentColor; border-radius: 50%;
}
.lf-search-icon::after {
  position: absolute; right: -5px; bottom: -2px; width: 7px; height: 1.7px;
  transform: rotate(47deg); background: currentColor; content: "";
}
.lf-bag-icon {
  position: relative; width: 16px; height: 15px; margin: 3px 5px 0 0;
  border: 1.6px solid currentColor; border-radius: 1px;
}
.lf-bag-icon::before {
  position: absolute; top: -5px; left: 3px; right: 3px; height: 6px;
  border: 1.5px solid currentColor; border-bottom: 0; border-radius: 6px 6px 0 0; content: "";
}
.lf-bag-count {
  position: absolute; top: 50%; left: calc(50% + 4px); transform: translateY(-50%);
  display: grid; min-width: 14px; height: 14px; padding-inline: 2px; place-items: center;
  border-radius: 20px; color: #612d30; background: #f1c9c7;
  font: 600 9px/1 var(--wp--preset--font-family--body);
  font-variant-numeric: tabular-nums;
}
.lf-bag-count[hidden] { display: none; }
.lf-account-icon { position: relative; width: 20px; height: 20px; }
.lf-account-icon::before, .lf-account-icon::after { position: absolute; border: 1.6px solid currentColor; content: ""; }
.lf-account-icon::before { width: 9px; height: 9px; left: 5.5px; top: 0; border-radius: 50%; }
.lf-account-icon::after { width: 20px; height: 9px; inset: auto 0 0; border-radius: 7px 7px 2px 2px; }
.lf-drawer-panel, .lf-search-panel {
  position: absolute; z-index: 1; inset: 100% 0 auto;
  max-height: calc(100dvh - 100px); overflow-y: auto;
  padding: .5rem var(--lf-nav-gutter) 1.25rem;
  color: #242527; background: white; border-block: 1px solid #e7e5e2;
  box-shadow: 0 12px 20px -18px rgb(30 29 27 / 30%);
}
.lf-drawer:not([open]) .lf-drawer-panel, .lf-search:not([open]) .lf-search-panel { display: none; }
.lf-drawer-panel nav:not(.la-femme-currency) { display: grid; }
.lf-drawer-panel a:not(.la-femme-currency__option) {
  display: flex; align-items: center; min-height: 46px;
  border-bottom: 1px solid #efeeeb; font-size: .9375rem;
}
.lf-search-form {
  display: flex; width: min(100%, 42rem); gap: .5rem; align-items: center;
  margin: .5rem auto 0;
}
.lf-search-form input[type=search] {
  flex: 1; min-width: 0; min-height: 46px;
  padding: .55rem .8rem; border: 1px solid #aca9a6; border-radius: 0;
  color: #222; background: white; font: inherit; font-size: 1rem;
}
.lf-search-form button {
  min-height: 46px; padding: .5rem 1rem;
  border: 1px solid #222; color: white; background: #222; font: inherit; font-size: .875rem; cursor: pointer;
}
.lf-drawer-currency, .lf-footer-currency { display: flex; gap: .65rem; align-items: center; font-size: .8125rem; }
.lf-drawer-currency { margin-top: .75rem; }
:is(.lf-drawer-currency, .lf-footer-currency) .la-femme-currency { justify-content: start; gap: .2rem; margin: 0; }
:is(.lf-drawer-currency, .lf-footer-currency) .la-femme-currency__option {
  display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center;
  padding: .4rem; border: 0; color: #444; background: transparent; font: 500 .8125rem/1 var(--wp--preset--font-family--body);
}
:is(.lf-drawer-currency, .lf-footer-currency) .la-femme-currency__option.is-active { color: #171819; text-decoration: underline; text-underline-offset: .35em; }
.lf-colophon { background: #faf8f4; }
.lf-colophon-inner { width: min(100%, 100rem); margin-inline: auto; padding-inline: var(--lf-nav-gutter); }
.lf-colophon a { display: inline-flex; align-items: center; min-height: 44px; }
.lf-colophon { border-top: 1px solid #d8d1c8; }
.lf-colophon-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1rem;
  row-gap: 1.5rem;
  padding-block: 2rem 1rem;
}
.lf-colophon-brand, .lf-colophon-baseline { grid-column: 1 / -1; }
.lf-colophon-signature img { width: 174px; }
.lf-colophon-brand p {
  margin: .375rem 0 0;
  color: #655e56;
  font-size: .8125rem;
}
.lf-colophon-section { display: flex; flex-direction: column; align-items: flex-start; }
.lf-colophon-section a, .lf-colophon-section span { font-size: .8125rem; }
.lf-colophon-channels span { line-height: 1.5; padding-block: .7rem; }
.lf-colophon-baseline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .25rem 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid #d8d1c8;
  color: #655e56;
  font-size: .75rem;
}
.lf-colophon-baseline nav { display: flex; flex-wrap: wrap; gap: 0 1rem; }

@media (min-width: 960px) {
  .lf-masthead-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand links actions";
    gap: clamp(1.75rem, 4vw, 4rem); min-height: 112px;
    padding-inline: clamp(15px, 1.05vw, 24px);
  }
  .lf-drawer { display: none; }
  .lf-masthead-nav { grid-area: links; display: flex; align-items: center; gap: clamp(1.25rem, 2.2vw, 2.5rem); }
  .lf-masthead-nav a {
    display: inline-flex; align-items: center; min-height: 44px;
    font: 500 .78rem/1.3 var(--wp--preset--font-family--body); text-transform: uppercase; letter-spacing: .055em;
  }
  .lf-masthead .lf-search-panel { right: var(--lf-nav-gutter); left: auto; width: min(36rem, 90%); padding-inline: 1.25rem; }
  .lf-masthead-signature img { width: clamp(180px, 15vw, 225px); }
  .lf-colophon-inner { grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-block: 3rem 1.25rem; }
  .lf-colophon-brand { grid-column: 1; }
  .lf-colophon-signature img { width: 220px; }
}

/* The front-page header sits in the photograph and scrolls away with it. */
.home .wp-site-blocks > header {
  position: relative;
  z-index: 5;
  height: 0;
}
.home .wp-site-blocks > .lf-home { margin-block-start: 0; }
.home .lf-masthead {
  position: absolute;
  inset: 0 0 auto;
  color: white;
  background: transparent;
}
.home .lf-masthead-inner {
  --lf-signature-width: clamp(180px, 15vw, 225px);
  min-height: 120px;
}
.home .lf-masthead-signature {
  width: var(--lf-signature-width);
}
.home .lf-masthead-signature img {
  width: 100%;
  filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgb(0 0 0 / 45%));
}
.home .lf-masthead .lf-masthead-actions > a,
.home .lf-masthead :is(.lf-drawer, .lf-search) > summary { color: inherit; }
.home .lf-masthead-nav a,
.home .lf-masthead :is(.lf-menu-icon, .lf-search-icon, .lf-bag-icon, .lf-account-icon) {
  filter: drop-shadow(0 1px 2px rgb(0 0 0 / 24%));
}
.home .lf-masthead .lf-bag-count { color: #56282b; background: #f2aaa8; }
.home .lf-masthead .lf-bag-icon::after {
  position: absolute;
  inset: 32% 0 auto;
  height: 1px;
  background: currentColor;
  content: "";
}
.home .lf-masthead :is(.lf-masthead-signature, .lf-masthead-nav a, .lf-masthead-actions > a, summary):focus-visible {
  outline-color: white;
  box-shadow: 0 0 0 3px #332f30;
}
@media (max-width: 959px) {
  .home .lf-masthead-inner {
    --lf-signature-width: clamp(122px, 40vw, 190px);
    grid-template-columns: minmax(0, var(--lf-signature-width)) 44px minmax(0, 1fr) auto;
    min-height: clamp(88px, 28.5vw, 120px);
    padding-inline: clamp(10px, 3.55vw, 15px) clamp(2px, 1vw, 8px);
  }
  .home .lf-masthead-actions { gap: clamp(0px, .5vw, 3px); }
  .home .lf-menu-icon {
    height: 14px;
    border-block-width: 2px;
    border-radius: 1px;
  }
  .home .lf-menu-icon::after { height: 2px; }
}
