:root {
  --efb-mobile-ui-finish: 0.8.548;
  --efb-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --efb-pantry-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --efb-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --efb-pantry-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html body,
html body button,
html body input,
html body select,
html body textarea {
  font-family: var(--efb-sans) !important;
  font-synthesis: none;
}

html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6 {
  font-family: var(--efb-serif) !important;
  font-synthesis: none;
}

@media (max-width: 760px) {
  html,
  body,
  .wp-site-blocks,
  .efb-main,
  .efb-shell {
    max-width: 100% !important;
  }

  html body .efb-header .efb-brand-lockup,
  html body.single-efb_listing .efb-header .efb-brand-lockup,
  html body .wp-block-navigation__responsive-container-open,
  html body .wp-block-navigation__responsive-container-close {
    min-height: 44px !important;
  }

  html:has(#efb-mobile-ui-finish-css) body .efb-button,
  html:has(#efb-mobile-ui-finish-css) body .efb-button--small,
  html:has(#efb-mobile-ui-finish-css) body .efb-watch-button,
  html:has(#efb-mobile-ui-finish-css) body .efb-card-commerce__actions .efb-text-link,
  html:has(#efb-mobile-ui-finish-css) body .efb-region-feature__actions .efb-text-link,
  html:has(#efb-mobile-ui-finish-css) body .efb-update-recent__actions .efb-text-link,
  html:has(#efb-mobile-ui-finish-css) body .efb-pagination a,
  html:has(#efb-mobile-ui-finish-css) body .efb-pagination span {
    min-height: 44px !important;
  }

  html:has(#efb-mobile-ui-finish-css) body .efb-card-commerce__actions .efb-text-link,
  html:has(#efb-mobile-ui-finish-css) body .efb-region-feature__actions .efb-text-link,
  html:has(#efb-mobile-ui-finish-css) body .efb-update-recent__actions .efb-text-link,
  html:has(#efb-mobile-ui-finish-css) body .efb-pagination a,
  html:has(#efb-mobile-ui-finish-css) body .efb-pagination span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  html:has(#efb-mobile-ui-finish-css) body .efb-footer-nav a {
    display: flex !important;
    align-items: center !important;
    min-height: 44px !important;
    margin-bottom: 0 !important;
  }

  html:has(#efb-mobile-ui-finish-css) body .efb-footer-bottom a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 36px !important;
  }

  html body.home .efb-home-section-scene {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: minmax(264px, auto) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  html body.home .efb-home-section-scene > picture {
    grid-area: 1 / 1 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
  }

  html body.home .efb-home-section-scene > picture img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 264px !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  html body.home .efb-home-section-scene > .efb-home-section-scene__copy {
    position: relative !important;
    z-index: 2 !important;
    box-sizing: border-box !important;
    grid-area: 1 / 1 !important;
    align-self: stretch !important;
    align-content: end !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 24px 20px !important;
    background: linear-gradient(90deg, rgba(4, 26, 59, 0.97) 0%, rgba(4, 26, 59, 0.88) 56%, rgba(4, 26, 59, 0.35) 100%) !important;
  }

  html body.home .efb-home-section-scene > .efb-home-section-scene__copy > * {
    position: static !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    color: #fffdf7 !important;
    transform: none !important;
  }

  html body.home .efb-home-section-scene > .efb-home-section-scene__copy > .efb-kicker {
    color: #f2b84b !important;
  }

  html body.home .efb-home-section-scene > .efb-home-section-scene__copy > h2 {
    max-width: 10ch !important;
    font-size: clamp(2.1rem, 10.8vw, 2.75rem) !important;
    line-height: 0.96 !important;
  }

  html body.home .efb-home-section-scene > .efb-home-section-scene__copy > p:last-child {
    max-width: 29ch !important;
    font-size: 0.9rem !important;
    line-height: 1.42 !important;
  }

  html body.single-efb_listing article.efb-detail.efb-detail--editorial-clean {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
  }

  html:has(#efb-mobile-ui-finish-css) body.single-efb_listing article.efb-detail.efb-detail--editorial-clean > .efb-detail__media {
    order: 1 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
  }

  html:has(#efb-mobile-ui-finish-css) body.single-efb_listing article.efb-detail.efb-detail--editorial-clean > .efb-detail__media > figure.efb-card__media--detail-hero,
  html:has(#efb-mobile-ui-finish-css) body.single-efb_listing article.efb-detail.efb-detail--editorial-clean > .efb-detail__media > figure.efb-card__media--detail-hero[style*="--efb-product-image"] {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 286px !important;
    min-height: 286px !important;
    margin: 0 !important;
    border-radius: 0 0 18px 18px !important;
  }

  html:has(#efb-mobile-ui-finish-css) body.single-efb_listing article.efb-detail.efb-detail--editorial-clean > .efb-detail__media .efb-card__image--detail-hero {
    max-width: min(82%, 286px) !important;
    max-height: 250px !important;
  }

  html:has(#efb-mobile-ui-finish-css) body.single-efb_listing article.efb-detail.efb-detail--editorial-clean > .efb-detail__body {
    order: 2 !important;
    box-sizing: border-box !important;
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    margin: 18px 14px 0 !important;
    padding: 0 !important;
    gap: 10px !important;
  }

  html:has(#efb-mobile-ui-finish-css) body.single-efb_listing article.efb-detail.efb-detail--editorial-clean > .efb-detail__rail {
    order: 3 !important;
  }

  html:has(#efb-mobile-ui-finish-css) body.single-efb_listing .efb-detail--editorial-clean .efb-detail__body > .efb-card__meta {
    order: 1 !important;
  }

  html:has(#efb-mobile-ui-finish-css) body.single-efb_listing .efb-detail--editorial-clean .efb-detail__body > h1 {
    order: 2 !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: clamp(1.78rem, 8vw, 2.15rem) !important;
    font-weight: 700 !important;
    line-height: 1.01 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  html:has(#efb-mobile-ui-finish-css) body.single-efb_listing .efb-detail--editorial-clean .efb-detail__summary {
    order: 3 !important;
    max-width: 36ch !important;
    margin: 4px 0 0 !important;
    font-size: 0.9rem !important;
    line-height: 1.42 !important;
  }

  html:has(#efb-mobile-ui-finish-css) body.single-efb_listing .efb-detail--editorial-clean .efb-detail-hero-actions {
    order: 4 !important;
    margin: 4px 0 0 !important;
  }

  html:has(#efb-mobile-ui-finish-css) body.single-efb_listing .efb-detail--editorial-clean .efb-detail-inline-watch {
    order: 5 !important;
  }

  html:has(#efb-mobile-ui-finish-css) body.single-efb_listing .efb-detail--editorial-clean .efb-detail-proofbar {
    order: 6 !important;
    margin: 8px 0 0 !important;
  }

  html:has(#efb-mobile-ui-finish-css) body.single-efb_listing .efb-detail--editorial-clean .efb-detail-live-terms {
    order: 7 !important;
  }

  html:has(#efb-mobile-ui-finish-css) body.single-efb_listing .efb-detail--editorial-clean .efb-detail__editorial-credit {
    order: 8 !important;
  }

  html:has(#efb-mobile-ui-finish-css) body.single-efb_listing .efb-detail--editorial-clean .efb-detail-live-terms,
  html:has(#efb-mobile-ui-finish-css) body.single-efb_listing .efb-detail--editorial-clean .efb-detail__editorial-credit {
    margin: 0 !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(4, 26, 59, 0.1) !important;
    color: rgba(7, 24, 39, 0.68) !important;
    font-size: 0.76rem !important;
    line-height: 1.42 !important;
  }

  /* Two marker IDs intentionally outrank older marker-scoped route CSS. */
  html:has(#efb-mobile-ui-finish-css):has(#efb-mobile-ui-finish-css) body .efb-button,
  html:has(#efb-mobile-ui-finish-css):has(#efb-mobile-ui-finish-css) body .efb-button--small,
  html:has(#efb-mobile-ui-finish-css):has(#efb-mobile-ui-finish-css) body .efb-watch-button,
  html:has(#efb-mobile-ui-finish-css):has(#efb-mobile-ui-finish-css) body .efb-footer-cta {
    box-sizing: border-box !important;
    min-height: 44px !important;
  }

  html:has(#efb-mobile-ui-finish-css):has(#efb-mobile-ui-finish-css) body.single-efb_listing article.efb-detail.efb-detail--editorial-clean > .efb-detail__media {
    order: 1 !important;
  }

  html:has(#efb-mobile-ui-finish-css):has(#efb-mobile-ui-finish-css) body.single-efb_listing article.efb-detail.efb-detail--editorial-clean > .efb-detail__body {
    order: 2 !important;
  }

  html:has(#efb-mobile-ui-finish-css):has(#efb-mobile-ui-finish-css) body.single-efb_listing article.efb-detail.efb-detail--editorial-clean > .efb-detail__rail {
    order: 3 !important;
  }

  html:has(#efb-mobile-ui-finish-css):has(#efb-mobile-ui-finish-css):has(#efb-mobile-ui-finish-css):has(#efb-mobile-ui-finish-css) body .efb-button,
  html:has(#efb-mobile-ui-finish-css):has(#efb-mobile-ui-finish-css):has(#efb-mobile-ui-finish-css):has(#efb-mobile-ui-finish-css) body .efb-button--small,
  html:has(#efb-mobile-ui-finish-css):has(#efb-mobile-ui-finish-css):has(#efb-mobile-ui-finish-css):has(#efb-mobile-ui-finish-css) body .efb-watch-button,
  html:has(#efb-mobile-ui-finish-css):has(#efb-mobile-ui-finish-css):has(#efb-mobile-ui-finish-css):has(#efb-mobile-ui-finish-css) body .efb-footer-cta {
    min-height: 44px !important;
  }
}