/* Shared breadcrumb presentation for server-rendered site navigation. */
:is(
  body.storefront-product-archive .page-top .breadcrumb,
  body.wp-singular.page nav[aria-label^="Breadcrumb"],
  body.single-product .storefront-product-breadcrumb
) {
  box-sizing: border-box !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #232323 !important;
  font-family: var(--storefront-font-ui, "Montserrat", Arial, sans-serif) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 22px !important;
  letter-spacing: .02em !important;
  text-transform: capitalize !important;
}

body.storefront-product-archive .page-top .breadcrumbs-wrap {
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 0 15px !important;
  padding: 35px 0 7px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.storefront-product-archive .page-top .breadcrumb {
  display: flex !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  list-style: none !important;
}

body.storefront-product-archive .page-top .breadcrumb > li.home {
  display: flex !important;
  height: 22px !important;
}

body.storefront-product-archive .page-top .breadcrumb > li.home > a,
body.storefront-product-archive .page-top .breadcrumb > li[aria-current="page"] {
  display: block !important;
}

body.wp-singular.page nav[aria-label^="Breadcrumb"] {
  display: flex !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 10px 0 !important;
  background: transparent !important;
  overflow: visible !important;
  white-space: normal !important;
}

body.single-product .storefront-product-breadcrumb {
  display: flex !important;
  width: 100% !important;
  height: 42px !important;
  margin: 0 0 3px !important;
  padding: 10px 15px !important;
  background: transparent !important;
}

:is(
  body.storefront-product-archive .page-top .breadcrumb,
  body.wp-singular.page nav[aria-label^="Breadcrumb"],
  body.single-product .storefront-product-breadcrumb
) :is(a, li, span) {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  text-transform: inherit !important;
  text-decoration: none !important;
}

:is(
  body.wp-singular.page nav[aria-label^="Breadcrumb"],
  body.single-product .storefront-product-breadcrumb
) > a,
body.storefront-product-archive .page-top .breadcrumb > li.home,
body.storefront-product-archive .page-top .breadcrumb > li.home > a {
  color: #999 !important;
  transition: color .3s ease !important;
}

:is(
  body.wp-singular.page nav[aria-label^="Breadcrumb"],
  body.single-product .storefront-product-breadcrumb
) > :is([aria-current="page"], [class$="__current"]),
body.storefront-product-archive .page-top .breadcrumb > li[aria-current="page"] {
  color: #999 !important;
}

:is(
  body.wp-singular.page nav[aria-label^="Breadcrumb"],
  body.single-product .storefront-product-breadcrumb
) > :is([aria-hidden="true"], [class$="__separator"]) {
  position: relative !important;
  display: block !important;
  flex: 0 0 23px !important;
  box-sizing: border-box !important;
  width: 23px !important;
  height: 22px !important;
  margin: 0 !important;
  padding: 0 7px !important;
  color: #232323 !important;
  font-size: inherit !important;
}

body.wp-singular.page nav[aria-label^="Breadcrumb"] > span[aria-hidden="true"]::before,
body.wp-singular.page nav[aria-label^="Breadcrumb"] > span[class$="__separator"]::before,
body.single-product .storefront-product-breadcrumb > span[aria-hidden="true"]::before,
body.single-product .storefront-product-breadcrumb > span[class$="__separator"]::before {
  content: none !important;
}

body.wp-singular.page nav[aria-label^="Breadcrumb"] > span[aria-hidden="true"],
body.wp-singular.page nav[aria-label^="Breadcrumb"] > span[class$="__separator"] {
  font-size: inherit !important;
}

body.wp-singular.page nav[aria-label^="Breadcrumb"] > span[aria-hidden="true"] > svg,
body.wp-singular.page nav[aria-label^="Breadcrumb"] > span[class$="__separator"] > svg,
body.single-product .storefront-product-breadcrumb > span[aria-hidden="true"] > svg,
body.single-product .storefront-product-breadcrumb > span[class$="__separator"] > svg {
  position: relative !important;
  top: -1px !important;
  display: inline-block !important;
  box-sizing: border-box !important;
  width: 9px !important;
  height: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: #999 !important;
  fill: currentColor !important;
  stroke: currentColor !important;
  vertical-align: middle !important;
  transition: .3s !important;
}

body.storefront-product-archive .page-top .breadcrumb .delimiter {
  position: relative !important;
  display: block !important;
  flex: 0 0 23px !important;
  box-sizing: border-box !important;
  width: 23px !important;
  height: 22px !important;
  margin: 0 !important;
  padding: 0 7px !important;
  color: #999 !important;
}

body.storefront-product-archive .page-top .breadcrumb .delimiter::before {
  position: relative !important;
  top: 5px !important;
  left: 0 !important;
  display: block !important;
  width: 9px !important;
  height: 10px !important;
  margin: 0 !important;
  background: currentColor !important;
  clip-path: none !important;
  content: "" !important;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M%207.75%201.34375%20L%206.25%202.65625%20L%2014.65625%2012%20L%206.25%2021.34375%20L%207.75%2022.65625%20L%2016.75%2012.65625%20L%2017.34375%2012%20L%2016.75%2011.34375%20Z%22%2F%3E%3C%2Fsvg%3E") !important;
  -webkit-mask-repeat: no-repeat !important;
  -webkit-mask-size: 9px 10px !important;
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M%207.75%201.34375%20L%206.25%202.65625%20L%2014.65625%2012%20L%206.25%2021.34375%20L%207.75%2022.65625%20L%2016.75%2012.65625%20L%2017.34375%2012%20L%2016.75%2011.34375%20Z%22%2F%3E%3C%2Fsvg%3E") !important;
  mask-repeat: no-repeat !important;
  mask-size: 9px 10px !important;
}

@media (min-width: 1025px) {
  :is(
    body.wp-singular.page nav[aria-label^="Breadcrumb"],
    body.single-product .storefront-product-breadcrumb,
    body.storefront-product-archive .page-top .breadcrumb
  ) a:is(:hover, :focus-visible) {
    color: #232323 !important;
  }
}

@media (max-width: 1024px) {
  body.storefront-product-archive .page-top .breadcrumbs-wrap {
    background: #f6f6f6 !important;
    padding: 10px 15px !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
  }

  body.storefront-product-archive .page-top .breadcrumb > li.home,
  body.storefront-product-archive .page-top .breadcrumb > li.home > a,
  body.storefront-product-archive .page-top .breadcrumb .delimiter {
    color: #232323 !important;
  }

  :is(
    body.storefront-product-archive .page-top .breadcrumb,
    body.wp-singular.page nav[aria-label^="Breadcrumb"],
    body.single-product .storefront-product-breadcrumb
  ) {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
  }

  body.storefront-product-archive .page-top .breadcrumb {
    overflow: visible !important;
  }

  body.wp-singular.page nav[aria-label^="Breadcrumb"] {
    padding: 10px 15px !important;
  }
}

@media (max-width: 767px) {
  :is(
    body.storefront-product-archive .page-top .breadcrumb,
    body.wp-singular.page nav[aria-label^="Breadcrumb"],
    body.single-product .storefront-product-breadcrumb
  ) {
    font-size: 11px !important;
  }

  :is(
    body.wp-singular.page nav[aria-label^="Breadcrumb"],
    body.single-product .storefront-product-breadcrumb
  ) > a:first-child {
    color: #232323 !important;
  }

  body.single-product .storefront-product-breadcrumb > span[class$="__separator"] > svg {
    color: #232323 !important;
  }

  body.storefront-product-archive .page-top .breadcrumbs-wrap {
    margin-bottom: 10px !important;
  }
}

@media (min-width: 768px) and (max-width: 768px) {
  body.storefront-product-archive .page-top .breadcrumbs-wrap {
    margin-bottom: 8px !important;
  }
}

@media (min-width: 1025px) {
  body.storefront-product-archive .page-top .breadcrumbs-wrap {
    overflow: hidden !important;
  }

  body.single-product .storefront-product-breadcrumb {
    width: calc(100% - 30px) !important;
    max-width: 1170px !important;
    margin: 0 auto 3px !important;
    padding: 10px 0 !important;
    background: transparent !important;
    overflow: visible !important;
    white-space: normal !important;
  }
}

@media (min-width: 551px) and (max-width: 767px) {
  body.single-product .storefront-product-breadcrumb {
    width: calc(100vw - 15px) !important;
  }
}

@media (max-width: 1024px) {
  body.single-product .storefront-product-breadcrumb {
    margin: 0 0 3px !important;
    background: transparent !important;
  }
}

/* Archive markup has an outer navigation wrapper and an inner list. */
@media (min-width: 1025px) and (max-width: 1229px) {
  body.storefront-product-archive .page-top .breadcrumbs-wrap {
    width: calc(100vw - 30px) !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  body.storefront-product-archive .page-top .breadcrumbs-wrap {
    width: calc(100vw + 30px) !important;
    margin-left: -30px !important;
    margin-right: 0 !important;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  body.storefront-product-archive .page-top .breadcrumbs-wrap {
    width: calc(100vw + 30px) !important;
    margin-left: -30px !important;
    margin-right: 0 !important;
  }
}

@media (min-width: 551px) and (max-width: 575px) {
  body.storefront-product-archive .page-top .breadcrumbs-wrap {
    width: calc(100vw + 30px) !important;
    margin-left: -25px !important;
    margin-right: 0 !important;
    padding: 10px 15px !important;
  }
}

@media (max-width: 550px) {
  body.storefront-product-archive .page-top .breadcrumbs-wrap {
    width: calc(100vw + 20px) !important;
    margin-left: -20px !important;
    margin-right: 0 !important;
    padding: 10px 15px 10px 20px !important;
  }


  body.wp-singular.page nav[aria-label^="Breadcrumb"] {
    padding: 10px 15px 10px 20px !important;
  }
}

/* Generic page adapter. Component-specific page adapters below may override it. */
@media (min-width: 1230px) {
  body.wp-singular.page nav[aria-label^="Breadcrumb"] {
    width: 1170px !important;
    max-width: 1170px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }
}

@media (min-width: 1025px) and (max-width: 1229px) {
  body.wp-singular.page nav[aria-label^="Breadcrumb"] {
    width: calc(100vw - 30px) !important;
    margin-left: 15px !important;
  }
}

@media (min-width: 576px) and (max-width: 1024px) {
  body.wp-singular.page nav[aria-label^="Breadcrumb"] {
    width: 100vw !important;
  }
}

@media (min-width: 551px) and (max-width: 575px) {
  body.wp-singular.page nav[aria-label^="Breadcrumb"] {
    width: calc(100vw + 10px) !important;
    margin-left: -5px !important;
  }
}

@media (max-width: 550px) {
  body.wp-singular.page nav[aria-label^="Breadcrumb"] {
    width: 100vw !important;
  }
}

/* Near Me keeps its own container geometry while sharing breadcrumb paint. */
body.wp-singular.page :is(.near-me-detail__breadcrumb, .near-me-directory__breadcrumb nav) {
  max-width: none !important;
  margin: 0 !important;
}

body.wp-singular.page .near-me-detail__hero {
  padding-top: 50px !important;
  padding-bottom: 50px !important;
}

@media (min-width: 1230px) {
  body.wp-singular.page :is(.near-me-detail__breadcrumb, .near-me-directory__breadcrumb nav) {
    width: 100% !important;
    padding: 35px 0 7px !important;
  }
}

@media (min-width: 1025px) and (max-width: 1229px) {
  body.wp-singular.page :is(.near-me-detail__breadcrumb, .near-me-directory__breadcrumb nav) {
    width: 100vw !important;
    margin-left: -15px !important;
    padding: 35px 0 7px !important;
  }

  body.wp-singular.page .near-me-directory__breadcrumb nav {
    margin-left: 0 !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  body.wp-singular.page .near-me-detail__hero {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  body.wp-singular.page :is(.near-me-detail__breadcrumb, .near-me-directory__breadcrumb nav) {
    width: calc(100vw + 30px) !important;
    margin-left: -30px !important;
  }

  body.wp-singular.page .near-me-directory__breadcrumb nav {
    margin-left: -15px !important;
  }
}

@media (min-width: 551px) and (max-width: 767px) {
  body.wp-singular.page :is(.near-me-detail__breadcrumb, .near-me-directory__breadcrumb nav) {
    width: calc(100vw + 30px) !important;
    margin-left: -15px !important;
  }
}

@media (max-width: 767px) {
  body.wp-singular.page .near-me-detail__hero {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }
}

@media (max-width: 550px) {
  body.wp-singular.page :is(.near-me-detail__breadcrumb, .near-me-directory__breadcrumb nav) {
    width: calc(100vw + 20px) !important;
    margin-left: -10px !important;
    padding: 10px 15px 10px 20px !important;
  }
}


