.modal-cart {
  background: var(--bp-ivory, #FBF6EE) !important;
  background-image: none !important;
}

.modal-cart form,
.modal-cart .modal-with-fixed-footer,
.modal-cart .modal-scrollable-area,
.modal-cart .modal-header,
.modal-cart .modal-body {
  background: var(--bp-ivory, #FBF6EE) !important;
  background-image: none !important;
}

.modal-cart .modal-body {
  min-height: calc(100vh - 82px);
}

.modal-cart .cart-item-quantity .form-quantity,
.modal-cart .cart-item-quantity .cart-item-quantity.small,
.template-cart .cart-item-quantity .form-quantity,
.template-cart .cart-item-quantity .cart-item-quantity.small {
  display: inline-flex;
  align-items: center;
  width: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.modal-cart .cart-item-quantity .row.m-0.align-items-center,
.template-cart .cart-item-quantity .row.m-0.align-items-center {
  gap: 8px;
}

.modal-cart .cart-item-quantity .form-quantity-icon,
.template-cart .cart-item-quantity .form-quantity-icon {
  flex: 0 0 38px;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(107, 31, 42, 0.18);
  border-radius: 50%;
  background: rgba(251, 246, 238, 0.9);
  color: var(--bp-ink, #1A1418);
  line-height: 1;
  box-shadow: none !important;
}

.modal-cart .cart-item-quantity .form-quantity-icon svg,
.template-cart .cart-item-quantity .form-quantity-icon svg {
  width: 14px !important;
  height: 14px !important;
}

.modal-cart .cart-item-quantity .js-cart-quantity-container,
.template-cart .cart-item-quantity .js-cart-quantity-container {
  flex: 0 0 38px;
  width: 38px;
  max-width: 38px;
  padding: 0 !important;
}

.modal-cart .cart-item-quantity .form-quantity-input,
.modal-cart .cart-item-quantity .js-cart-quantity-input,
.template-cart .cart-item-quantity .form-quantity-input,
.template-cart .cart-item-quantity .js-cart-quantity-input {
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-family: var(--bp-body, sans-serif);
  font-size: 1rem;
  line-height: 38px;
  text-align: center;
  box-shadow: none !important;
}

.template-cart {
  background: var(--bp-blush, #F4E4DD);
}

.template-cart .page-header {
  padding: clamp(52px, 7vw, 96px) 0 clamp(42px, 5vw, 70px) !important;
  background: var(--bp-blush, #F4E4DD) !important;
  border-bottom: 1px solid rgba(107, 31, 42, 0.14);
}

.template-cart .page-header h1,
.template-cart .page-header .h1 {
  font-size: clamp(3rem, 6vw, 6.2rem) !important;
  line-height: 0.98 !important;
}

.template-cart #shoppingCartPage {
  width: min(100%, 1280px);
  margin: 0 auto !important;
  padding: clamp(28px, 4vw, 58px) clamp(18px, 4vw, 44px) clamp(58px, 7vw, 104px) !important;
}

.template-cart #shoppingCartPage > .cart-body,
.template-cart #shoppingCartPage form.cart-body {
  width: 100%;
}

.template-cart #shoppingCartPage form.cart-body > .cart-body > .cart-row.subtitle {
  display: none !important;
}

.template-cart .js-ajax-cart-list.cart-row {
  margin: 0 0 clamp(24px, 3vw, 38px) !important;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(107, 31, 42, 0.14);
  background: rgba(251, 246, 238, 0.62);
  box-shadow: 0 24px 44px -42px rgba(26, 20, 24, 0.32);
}

.template-cart .js-cart-item {
  display: grid !important;
  grid-template-columns: 96px minmax(260px, 1fr) 132px 128px 128px 38px;
  gap: clamp(14px, 2vw, 28px);
  align-items: center !important;
  margin: 0 !important;
  padding: 0 0 22px !important;
  border-bottom: 1px solid rgba(107, 31, 42, 0.14);
}

.template-cart .js-cart-item + .js-cart-item {
  padding-top: 22px !important;
}

.template-cart .js-cart-item > .col-3,
.template-cart .js-cart-item > .col-md-1 {
  grid-column: 1;
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
}

.template-cart .js-cart-item img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 0;
  background: var(--bp-ivory, #FBF6EE);
}

.template-cart .js-cart-item > .col-9,
.template-cart .js-cart-item > .col-md-10 {
  display: contents !important;
}

.template-cart .js-cart-item > .col-9 > .row,
.template-cart .js-cart-item > .col-md-10 > .row {
  display: contents !important;
}

.template-cart .js-cart-item .cart-item-name {
  grid-column: 2;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-family: var(--bp-display, Georgia, serif);
  font-size: 1.05rem;
  line-height: 1.25;
}

.template-cart .js-cart-item .cart-item-name a {
  color: var(--bp-ink, #1A1418);
  text-decoration: none;
}

.template-cart .js-cart-item .cart-item-name small {
  display: block;
  margin-top: 4px;
  color: var(--bp-stone, #8A7A78);
  font-family: var(--bp-body, sans-serif);
  font-size: 0.86rem;
}

.template-cart .js-cart-item .cart-item-quantity {
  grid-column: 3;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  text-align: center;
}

.template-cart .js-cart-item .cart-item-subtotal-short {
  grid-column: 4;
  display: block !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  color: var(--bp-ink, #1A1418);
}

.template-cart .js-cart-item .js-cart-item-subtotal {
  grid-column: 5;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  color: var(--bp-bordeaux, #6B1F2A);
  font-family: var(--bp-display, Georgia, serif);
  font-size: 1.1rem;
  text-align: right !important;
  white-space: nowrap;
}

.template-cart .js-cart-item .cart-item-delete {
  grid-column: 6;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.template-cart .js-cart-item .cart-item-delete .btn {
  padding: 6px;
  color: var(--bp-ink, #1A1418);
}

.template-cart .js-cart-item .divider {
  display: none;
}

.template-cart #shoppingCartPage form.cart-body > .cart-body > .row {
  justify-content: flex-end;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.template-cart #shoppingCartPage form.cart-body > .cart-body > .row > .col-12.col-md-3 {
  flex: 0 0 min(100%, 360px) !important;
  max-width: min(100%, 360px) !important;
  margin-left: 0 !important;
  padding: 0 !important;
}

.template-cart #cart-sticky-summary {
  position: static !important;
  padding: 26px;
  border: 1px solid rgba(107, 31, 42, 0.14);
  background: rgba(251, 246, 238, 0.72);
  box-shadow: 0 24px 44px -42px rgba(26, 20, 24, 0.32);
}

.template-cart #cart-sticky-summary .divider {
  margin: 18px 0;
  border-color: rgba(107, 31, 42, 0.16);
}

.template-cart #cart-sticky-summary h5,
.template-cart #cart-sticky-summary h4 {
  font-family: var(--bp-body, sans-serif);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.template-cart #cart-sticky-summary .js-cart-total {
  color: var(--bp-bordeaux, #6B1F2A) !important;
  font-family: var(--bp-display, Georgia, serif) !important;
  font-size: 1.6rem !important;
}

.template-cart #cart-sticky-summary .js-cart-total-container {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.template-cart #cart-sticky-summary .js-visible-on-cart-filled.container-fluid {
  padding: 0 !important;
}

.template-cart #cart-sticky-summary #go-to-checkout {
  width: 100%;
  min-height: 58px;
  margin-top: 10px;
}

.template-cart #cart-sticky-summary .btn-link {
  margin-top: 12px;
}

@media (max-width: 991px) {
  .template-cart .js-cart-item {
    grid-template-columns: 82px minmax(0, 1fr) 38px;
    gap: 12px 16px;
  }

  .template-cart .js-cart-item img {
    width: 82px;
    height: 82px;
  }

  .template-cart .js-cart-item .cart-item-name {
    grid-column: 2;
  }

  .template-cart .js-cart-item .cart-item-delete {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
  }

  .template-cart .js-cart-item .cart-item-quantity {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
  }

  .template-cart .js-cart-item .cart-item-subtotal-short {
    display: none !important;
  }

  .template-cart .js-cart-item .js-cart-item-subtotal {
    grid-column: 2 / 4;
    grid-row: 3;
    text-align: left !important;
  }

  .template-cart #shoppingCartPage form.cart-body > .cart-body > .row > .col-12.col-md-3 {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 575px) {
  .template-cart .page-header h1,
  .template-cart .page-header .h1 {
    font-size: 2.6rem !important;
  }

  .template-cart #shoppingCartPage {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .template-cart .js-ajax-cart-list.cart-row,
  .template-cart #cart-sticky-summary {
    padding: 18px;
  }
}
