.nr-browse-cart-bar[hidden] {
  display: none;
}

.nr-browse-cart-bar {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  color: #173524;
}

.nr-browse-cart-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(31, 77, 52, 0.2);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.97);
  box-shadow: 0 12px 34px rgba(31, 56, 39, 0.2);
  backdrop-filter: blur(12px);
}

.nr-browse-cart-summary {
  min-width: 0;
  display: grid;
  gap: 2px;
  font-size: 13px;
}

.nr-browse-cart-summary strong {
  font-size: 14px;
}

.nr-browse-cart-summary > span {
  color: #246b45;
  font-weight: 800;
}

.nr-browse-cart-actions {
  display: flex;
  gap: 8px;
}

.nr-browse-cart-actions a,
.nr-browse-cart-actions button {
  min-height: 42px;
  padding: 9px 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  font-family: inherit;
  white-space: nowrap;
}

.nr-browse-cart-view {
  border: 1px solid #246b45;
  color: #246b45;
  background: #fff;
}

.nr-browse-cart-checkout {
  border: 1px solid #246b45;
  color: #fff;
  background: #246b45;
}

@media (min-width: 900px) {
  .nr-browse-cart-bar {
    left: auto;
    right: 24px;
    width: min(520px, calc(100vw - 48px));
    bottom: 24px;
  }
}

@media (max-width: 420px) {
  body.nr-has-sticky-cart main {
    padding-bottom: 130px !important;
  }

  .nr-browse-cart-inner {
    grid-template-columns: 1fr;
  }

  .nr-browse-cart-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 421px) and (max-width: 899px) {
  body.nr-has-sticky-cart main {
    padding-bottom: 90px !important;
  }
}
