/* Interior pages inherit a 10px root font-size from legacy CSS. Pin the shared
   site chrome to the same pixel sizes used by /css/newhome.min.css. */
.bm-site-chrome {
  font-size: 16px;
  line-height: normal;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.bm-site-chrome *,
.bm-site-chrome input,
.bm-site-chrome button {
  font-family: "Plus Jakarta Sans", sans-serif;
}

.bm-site-chrome .content-container {
  width: min(1280px, calc(100% - 32px));
  font-size: 16px;
  line-height: normal;
}

.bm-site-chrome .masthead__inner {
  gap: 32px;
  padding: 16px 0;
}

.bm-site-chrome .brand-lockup {
  gap: 3.2px;
}

.bm-site-chrome .brand-lockup__name {
  font-size: 32px;
  line-height: 32px;
}

.bm-site-chrome.site-header .brand-lockup__name {
  display: block;
  width: 295px;
  height: 80px;
  line-height: 0;
}

.bm-site-chrome.site-header .brand-lockup__name picture,
.bm-site-chrome.site-header .brand-lockup__name img {
  display: block;
  width: 295px;
  height: 80px;
}

.bm-site-chrome .brand-lockup__tagline {
  font-size: 10.88px;
  color: #a9352f;
}

.bm-site-chrome .masthead__actions {
  gap: 16px;
}

.bm-site-chrome .phone-link {
  font-size: 15.2px;
  line-height: normal;
}

.bm-site-chrome .search-form {
  font-size: 16px;
  line-height: normal;
  max-width: 720px;
}

.bm-site-chrome .search-form input {
  height: 48px;
  padding: 0 56px 0 16px;
  font-size: 16px;
  line-height: normal;
}

.bm-site-chrome .search-form button {
  right: 6.4px;
  width: 36px;
  height: 36px;
}

.bm-site-chrome .search-form svg {
  width: 19.2px;
  height: 19.2px;
}

.bm-site-chrome .account-actions {
  gap: 16px;
  font-size: 13.12px;
  line-height: normal;
}

.bm-site-chrome .cart-count {
  min-width: 19.2px;
  height: 19.2px;
  padding: 0 4px;
  font-size: 10.88px;
}

.bm-site-chrome .cart-count:empty {
  display: none;
}

.bm-site-chrome .primary-nav a {
  padding: 16px 22.4px;
  font-size: 13.12px;
  line-height: 17px;
}

.bm-site-chrome.site-footer {
  margin-top: 64px;
}

.bm-site-chrome .footer-grid {
  gap: 32px;
  padding: 64px 0 48px;
}

.bm-site-chrome .footer-brand p {
  font-size: 15.04px;
  line-height: 24px;
}

.bm-site-chrome .brand-lockup--footer .brand-lockup__name {
  display: block;
  width: 250px;
  height: 68px;
  font-size: 32px;
  line-height: 0;
}

.bm-site-chrome .brand-lockup--footer .brand-lockup__name picture,
.bm-site-chrome .brand-lockup--footer .brand-lockup__name img {
  display: block;
  width: 250px;
  height: 68px;
}

.bm-site-chrome .brand-lockup--footer .brand-lockup__tagline {
  font-size: 14.08px;
  line-height: 20px;
}

.bm-site-chrome .footer-contact {
  margin-top: 20px;
  font-size: 15.2px;
  line-height: 22px;
}

.bm-site-chrome .footer-column h3 {
  margin: 0 0 16px;
  padding-bottom: 9.6px;
  font-size: 13.12px;
  line-height: normal;
}

.bm-site-chrome .footer-column a {
  margin: 2.88px 0;
  font-size: 14.4px;
  line-height: normal;
}

.bm-site-chrome .footer-meta {
  gap: 16px;
  padding: 24px 0 40px;
}

.bm-site-chrome .payment-pills {
  gap: 12px;
}

.bm-site-chrome .payment-pills span {
  padding: 10.4px 14.4px;
  font-size: 12px;
  line-height: 16px;
}

.bm-site-chrome .footer-meta p {
  font-size: 12.16px;
  line-height: 18px;
}

.mainContainer {
  box-sizing: border-box;
  max-width: 100%;
}

.mainContainer > .bm-site-chrome {
  position: relative;
  left: auto;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Basket and other legacy interior pages can render site chrome inside the
   constrained .bmBody wrapper. Keep nested footers full-bleed too. */
.mainContainer > .bmBody > .bm-site-chrome.site-footer {
  position: relative;
  left: auto;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  font-size: 16px;
  line-height: normal;
}

body.users_myaccount .bmBody,
body.easyreorder .bmBody,
body.users_myaccount .responsive-content,
body.easyreorder .responsive-content {
  max-width: 100%;
}

body.users_myaccount .tab-content,
body.users_myaccount .panel,
body.users_myaccount .well,
body.users_myaccount .list-group,
body.easyreorder .dataTables_wrapper {
  box-sizing: border-box;
  max-width: 100%;
}

body.users_myaccount .nav-pills.nav-stacked a {
  overflow-wrap: anywhere;
}

.content-area {
  padding: 32px 16px 48px;
  color: #1f2937;
}

.content-area a,
.bmBody a.text-muted,
.bmBody a.link,
.search-body .main-facet-link,
.search-body .panel-title > a,
.search-body .checkbox label,
.search-body .text-muted.link {
  color: #073b6d !important;
}

.search-body .panel-collapse a.main-facet-link:hover,
.search-body .panel-collapse a.main-facet-link:focus,
.search-body .panel-collapse a.main-facet-link:active {
  color: #fff !important;
  background-color: #021a4b;
  opacity: 1;
}

@media (max-width: 767px) {
  body.search:not(.search-hydrated) .search-body .row.knockout.using-term > .blockable {
    min-height: 10900px;
  }

  body.search:not(.search-hydrated) .search-body .row.knockout.not-using-term > .blockable {
    min-height: 11690px;
  }
}

@media (min-width: 768px) {
  body.search .search-body .row.knockout.using-term > .header h1 {
    min-height: 80px;
  }

  body.search:not(.search-hydrated) .search-body .row.knockout.using-term > .blockable {
    min-height: 2800px;
  }

  body.search:not(.search-hydrated) .search-body .row.knockout.not-using-term > .blockable {
    min-height: 3190px;
  }
}

.search-body .show-filters {
  color: #fff !important;
  background-color: #064f87 !important;
  border-color: #043f6c !important;
}

.search-body .pagination > .disabled > a,
.search-body .pagination > .disabled > a:hover,
.search-body .pagination > .disabled > a:focus {
  color: #555 !important;
  background-color: #fff !important;
}

.search-body .product-price .unit {
  color: #555 !important;
}

.bmBody .btn-primary,
.bmBody .btn-primary-checkout,
.bmBody .in-page-login,
.persistent-cart .btn.btn-primary {
  color: #fff !important;
  background-color: #064f87 !important;
  border-color: #043f6c !important;
}

.bmBody .btn-primary:hover,
.bmBody .btn-primary:focus,
.bmBody .btn-primary-checkout:hover,
.bmBody .btn-primary-checkout:focus,
.bmBody .in-page-login:hover,
.bmBody .in-page-login:focus,
.persistent-cart .btn.btn-primary:hover,
.persistent-cart .btn.btn-primary:focus {
  background-color: #043f6c !important;
  border-color: #032f52 !important;
}

@media (max-width: 900px) {
  .persistent-cart {
    position: fixed !important;
    top: 10px !important;
    right: 10px !important;
    bottom: auto !important;
    float: none !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    z-index: 9999 !important;
    font-size: 16px !important;
    line-height: normal !important;
  }

  .persistent-cart > div {
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
  }

  .persistent-cart .btn.btn-primary {
    display: block !important;
    padding: 10px 15px !important;
    color: #fff !important;
    background-color: #0a9fd8 !important;
    border: 0 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: normal !important;
    text-decoration: none !important;
  }

  .persistent-cart .btn.btn-primary:hover,
  .persistent-cart .btn.btn-primary:focus {
    background-color: #078fc4 !important;
    border: 0 !important;
  }

  .persistent-cart .btn.btn-primary i,
  .persistent-cart .btn.btn-primary svg.svg-inline--fa {
    display: none !important;
  }
}

.search-body .ko-product .ribbon.free-shipping,
.search-body .ko-product .ribbon.double-markdown {
  background: transparent !important;
  background-color: transparent !important;
  pointer-events: none;
}

.search-body .ko-product .ribbon.free-shipping span {
  color: #fff !important;
  background-color: #8b1e1e !important;
}

.search-body .ko-product .ribbon.double-markdown span {
  color: #fff !important;
  background-color: #618108 !important;
}

@media (max-width: 900px) {
  .bm-site-chrome .masthead {
    padding: 0 15px 12px;
  }

  .bm-site-chrome .masthead .content-container {
    width: 100%;
    margin: 0;
  }

  .bm-site-chrome .masthead__inner {
    gap: 16px;
    padding: 16px 0;
  }

  .bm-site-chrome .mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 8px;
  }

  .bm-site-chrome .brand-lockup__name {
    font-size: 30.4px;
    line-height: 30.4px;
  }

  .bm-site-chrome .brand-lockup__name img {
    max-height: 80px;
  }

  .bm-site-chrome .brand-lockup__tagline {
    font-size: 9.92px;
    line-height: 9.92px;
  }

  .bm-site-chrome .phone-link-mobile {
    font-size: 15.2px;
    line-height: 15.2px;
    margin-top: 5px;
  }

  .bm-site-chrome .masthead__actions {
    margin-top: 12px;
  }

  .bm-site-chrome .search-form {
    margin: 0;
  }

  .bm-site-chrome .search-form button {
    width: 44px;
    height: 44px;
    right: 2px;
  }

  .bm-site-chrome .account-actions {
    gap: 6px;
    margin-top: 0;
  }

  .bm-site-chrome .account-actions a {
    min-height: 44px;
    font-size: 12px;
    line-height: normal;
    padding: 8px 4px;
  }

  .bm-site-chrome .primary-nav {
    display: none;
    position: static;
    width: 100%;
    margin: 0;
    border: 0;
    border-top: 1px solid #e2e8f0;
    border-radius: 0;
    box-shadow: none;
  }

  .bm-site-chrome .primary-nav.show {
    display: block;
  }

  .bm-site-chrome .primary-nav .content-container {
    width: 100%;
    margin: 0;
  }

  .bm-site-chrome .primary-nav__inner {
    max-height: calc(100vh - 220px);
    overflow-y: auto;
  }

  .bm-site-chrome .footer-grid {
    gap: 22.4px;
    padding: 48px 0 32px;
  }

  .bm-site-chrome .footer-brand p {
    font-size: 14.4px;
    line-height: 23px;
  }

  .bm-site-chrome .payment-pills {
    gap: 8px;
  }

  .bm-site-chrome .payment-pills span {
    padding: 8.8px 11.2px;
    font-size: 10.88px;
    line-height: 15px;
  }

  .bmBody .btn,
  .bmBody button,
  .bmBody select,
  .bmBody input[type="button"],
  .bmBody input[type="submit"],
  .bmBody .pagination > li > a,
  .bmBody .pagination > li > span {
    min-height: 44px;
  }

  .bmBody .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }

  .bmBody .pagination > li > a,
  .bmBody .pagination > li > span {
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
  }

  body.users_myaccount .responsive-content,
  body.easyreorder .responsive-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  body.users_myaccount .responsive-content > .row,
  body.easyreorder .responsive-content > .row {
    margin-left: 0;
    margin-right: 0;
  }

  body.users_myaccount .table-responsive,
  body.easyreorder .table-responsive,
  body.easyreorder .dataTables_wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.users_myaccount .quick-links {
    margin-bottom: 12px;
  }

  body.view .bmBody nobr {
    white-space: normal;
  }

  body.view .bmBody nobr center {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
  }

  body.view .bmBody nobr a {
    display: inline-flex;
    margin: 2px;
  }

  .search-body #sort_options,
  .search-body .show-filters {
    min-height: 44px;
    font-size: 16px;
  }

  .search-body .show-filters {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
  }

  body.snackrewards_snackrewards .bmBody table,
  body.snackrewards_snackrewards .bmBody tbody,
  body.snackrewards_snackrewards .bmBody tr,
  body.snackrewards_snackrewards .bmBody td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
  }

  body.snackrewards_snackrewards .bmBody iframe,
  body.snackrewards_snackrewards .bmBody img,
  body.snackrewards_snackrewards .bmBody div {
    max-width: 100% !important;
    box-sizing: border-box;
  }

  body.snackrewards_snackrewards .bmBody iframe {
    aspect-ratio: 16 / 9;
    height: auto !important;
  }

  body.snackrewards_snackrewards .bmBody {
    padding: 0 12px 32px;
  }

  body.snackrewards_snackrewards .bmBody center,
  body.snackrewards_snackrewards .bmBody font {
    max-width: 100%;
    line-height: 1.4 !important;
  }

  body.snackrewards_snackrewards .bmBody br {
    line-height: 8px;
  }

  body.snackrewards_snackrewards .bmBody td {
    padding: 8px !important;
  }

  body.snackrewards_snackrewards .bmBody table[height],
  body.snackrewards_snackrewards .bmBody td[height] {
    min-height: 0 !important;
  }

  body.snackrewards_snackrewards .bmBody input[type="text"] {
    width: 100% !important;
    min-height: 44px;
    padding: 8px 10px;
    font-size: 16px !important;
    box-sizing: border-box;
  }

  body.snackrewards_snackrewards .bmBody input[type="image"] {
    width: auto !important;
    max-width: 100% !important;
    min-height: 44px;
  }

  body.snackrewards_snackrewards .bmBody .g-recaptcha {
    transform: scale(.9);
    transform-origin: 0 0;
  }

  body.coupons_coupons .CouponAllGrids {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    padding: 0 .5rem;
    box-sizing: border-box;
  }

  body.coupons_coupons .CouponGrid {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  body.coupons_coupons .CouponGrid table {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.coupons_coupons .CouponGrid td[width="255"] {
    width: auto !important;
  }
}

@media (max-width: 420px) {
  .bm-site-chrome.site-footer .content-container {
    width: min(100%, calc(100% - 16px));
  }
}

@media (min-width: 901px) {
  .bm-site-chrome .mobile-menu-toggle {
    display: none !important;
  }
}
