body.bb-cart-page {
  background: #fff;
}

body.bb-cart-page .bb-chrome--checkout,
body.bb-cart-page .bb-header {
  background: #fff;
}

body.bb-cart-page .bb-header {
  grid-template-columns: auto 1fr auto;
}

body.bb-cart-page .bb-lock {
  margin: 0;
  color: #0a8800;
  font-size: 14px;
  font-weight: 600;
}

body.bb-cart-page .bb-signin {
  justify-self: end;
  color: #222;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

body.bb-cart-page .entry-header,
body.bb-cart-page .page-title,
body.bb-cart-page .hero-section,
body.bb-cart-page .bb-tabbar,
body.bb-cart-page .woocommerce-cart-form .bb-bag__update {
  display: none;
}

body.bb-cart-page #main,
body.bb-cart-page .ct-container-full,
body.bb-cart-page .entry-content {
  max-width: none;
  padding-top: 0 !important;
}

body.bb-cart-page .entry-content.is-layout-constrained > .woocommerce {
  max-width: 1180px !important;
  width: 100%;
  margin: 0 auto !important;
  padding: 8px 16px 72px;
}

.bb-bag__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}

.bb-crumb {
  margin: 0 0 16px;
  color: #757575;
  font-size: 13px;
}

.bb-crumb a {
  color: #757575;
  text-decoration: none;
}

.bb-crumb span {
  margin: 0 6px;
}

.bb-bag__ship {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 4px;
  background: #e8f8ee;
  color: #0a8800;
  font-weight: 700;
}

.bb-bag__ship::before {
  content: "✓  ";
}

.bb-bag__all {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-weight: 700;
}

.bb-bag__item {
  display: grid;
  grid-template-columns: auto 92px minmax(0, 1fr) auto;
  grid-template-areas:
    "check thumb info remove"
    "check thumb info qty";
  gap: 8px 12px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid #eee;
}

.bb-bag__check { grid-area: check; margin-top: 34px; }
.bb-bag__thumb { grid-area: thumb; }
.bb-bag__thumb img { width: 92px; height: 92px; object-fit: contain; background: #f7f7f7; }
.bb-bag__info { grid-area: info; min-width: 0; }
.bb-bag__remove { grid-area: remove; justify-self: end; color: #222; text-decoration: none; font-size: 18px; }
.bb-bag__qty { grid-area: qty; justify-self: end; }

.bb-bag__name {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #222;
  font-weight: 600;
  text-decoration: none;
}

.bb-bag__meta,
.bb-bag__meta p {
  margin: 4px 0 0;
  color: #757575;
  font-size: 13px;
}

.bb-bag__price {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 700;
}

.bb-bag__qty {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #222;
  border-radius: 4px;
  font-size: 14px;
}

.bb-bag__qty select {
  min-width: 42px;
  border: 0;
  background: transparent;
  font-size: 14px;
  cursor: pointer;
}

.bb-bag__find {
  margin: 14px 0 28px;
  color: #757575;
  font-size: 14px;
}

.bb-bag__find a {
  color: #fb7701;
  font-weight: 700;
  text-decoration: none;
}

.bb-bag__side {
  position: sticky;
  top: 120px;
}

.bb-bag__side h2,
.bb-picks h2 {
  margin: 0 0 16px;
  font-size: 20px;
}

.bb-bag__line {
  display: flex;
  justify-content: space-between;
  margin: 0 0 8px;
  color: #222;
}

.bb-bag__total {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 800;
}

.bb-bag__fine,
.bb-bag__lock {
  margin: 10px 0;
  color: #222;
  font-size: 13px;
  line-height: 1.45;
}

.bb-bag__fine::before {
  content: "ⓘ ";
  color: #757575;
}

.bb-bag__lock::before {
  content: "🔒 ";
}

.bb-bag__safe {
  margin-top: 16px;
}

.bb-bag__safe h3 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
  color: #222;
  font-size: 15px;
  font-weight: 700;
}

.bb-bag__safe h3 img,
.bb-bag__tree img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.bb-bag__safe p,
.bb-bag__safe li {
  margin: 0;
  color: #222;
  font-size: 13px;
  line-height: 1.45;
}

.bb-bag__safe strong {
  color: #0a8800;
}

.bb-bag__sub {
  margin-top: 10px !important;
  font-weight: 700;
}

.bb-bag__safe ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bb-bag__safe li::before {
  content: "✓ ";
}

.bb-bag__more,
.bb-bag__tree {
  display: inline-block;
  margin-top: 6px;
  color: #222;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.bb-bag__tree {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
}

.bb-paymarks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.bb-paymarks img {
  height: 28px;
  width: auto;
  border: 1px solid #eee;
  border-radius: 2px;
  background: #fff;
  object-fit: contain;
}

.bb-bag__checkout {
  display: block;
  margin: 14px 0;
  padding: 12px 16px;
  border-radius: 999px;
  background: #fb7701;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.bb-picks__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.bb-pick {
  position: relative;
}

.bb-pick__img img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f6f6f6;
}

.bb-pick__name {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 8px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #222;
  font-size: 13px;
  text-decoration: none;
}

.bb-pick__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
  margin: 6px 36px 0 0;
}

.bb-pick__price span,
.bb-pick__price del {
  white-space: nowrap;
}

.bb-pick__price span {
  font-weight: 800;
}

.bb-pick__price del {
  margin-left: 6px;
  color: #999;
  font-size: 12px;
  font-weight: 400;
}

.bb-pick__add {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
  color: #222;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  text-decoration: none;
}

.bb-bag__empty {
  margin: 24px 0;
  font-size: 18px;
  font-weight: 700;
}

.woocommerce-cart-form {
  display: block;
  width: 100%;
}

@media (max-width: 900px) {
  .bb-bag__grid {
    grid-template-columns: 1fr;
  }

  .bb-picks__grid {
    grid-template-columns: 1fr 1fr;
  }

  .bb-bag__side {
    position: static;
    grid-column: 1 / -1;
  }
}
