/* One summary surface, with the action and useful help in reading order. */
.ordering-process .sidebar-in-cart {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ordering-process .sidebar-in-cart > .summary-wrapper {
  order: 0;
}
.ordering-process .sidebar-in-cart > .checkout-box-wrapper {
  order: 1;
}
.ordering-process :is(.sidebar-in-cart,#checkoutSidebar) > .cart-content {
  box-sizing: border-box;
  min-width: 0;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--hs-line);
  border-radius: 12px;
  background: var(--hs-panel);
}
.ordering-process .sidebar-in-cart .summary-wrapper > .box,
.ordering-process #checkoutSidebar .order-summary,
.ordering-process #checkoutSidebar #summary-box {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.ordering-process :is(.sidebar-in-cart,#checkoutSidebar) h2 {
  margin: 0 0 20px;
  color: var(--hs-text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.2px;
  text-transform: none;
}
.ordering-process :is(.sidebar-in-cart,#checkoutSidebar) .hs-summary-note {
  margin: 10px 0 0;
  color: var(--hs-muted);
  font-size: 12px;
  line-height: 1.6;
}

/* Each product has one full-width name, followed by quantity and price. */
.ordering-process #summary-box .cart-items {
  margin: 0;
  padding: 0;
  border: 0;
}
.ordering-process #summary-box .cart-item {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 6px 12px;
  margin: 0;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--hs-line);
  background: transparent;
}
.ordering-process #summary-box .cart-item > div {
  display: block;
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  vertical-align: baseline;
}
.ordering-process #summary-box .cart-item-name {
  grid-column: 1 / -1;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.ordering-process #summary-box .cart-item-name a {
  color: var(--hs-text);
}
.ordering-process #summary-box .cart-item-name a:hover {
  color: var(--hs-green);
}
.ordering-process #summary-box .cart-item-amount {
  color: var(--hs-muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}
.ordering-process #summary-box .cart-item-price {
  color: var(--hs-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: right;
  white-space: nowrap;
}

/* Keep monetary values on a common right edge, without vertical dividers. */
.ordering-process #summary-box .order-summary-item.helper {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  padding: 18px 0 8px;
  border: 0;
  color: var(--hs-muted);
  font-size: 14px;
  line-height: 1.5;
}
.ordering-process #summary-box .order-summary-item.helper > div {
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
}
.ordering-process #summary-box .order-summary-item.helper strong {
  font-weight: 400;
}
.ordering-process #summary-box .order-summary-item.helper > div:last-child {
  color: var(--hs-text);
  text-align: right;
  white-space: nowrap;
}
.ordering-process #summary-box .recapitulation-single {
  display: block;
  margin: 0;
  padding: 10px 0;
  border: 0;
  font-size: 14px;
  line-height: 1.5;
}
.ordering-process #summary-box .recapitulation-single > span {
  display: block;
  float: none;
  width: auto;
  margin: 0 0 3px;
  padding: 0;
  color: var(--hs-muted);
  font-size: 12px;
  line-height: 1.5;
}
.ordering-process #summary-box .recapitulation-single > strong {
  display: flex;
  float: none;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--hs-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.ordering-process #summary-box .recapitulation-single > strong > span {
  order: 1;
  flex: 0 0 auto;
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  color: var(--hs-text);
  text-align: right;
  white-space: nowrap;
}
.ordering-process #summary-box .order-summary-item.price {
  margin: 14px 0 0;
  padding: 20px 0 0;
  border: 0;
  border-top: 1px solid var(--hs-line);
}
.ordering-process :is(.sidebar-in-cart,#checkoutSidebar) .price-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}
.ordering-process :is(.sidebar-in-cart,#checkoutSidebar) .price-wrapper .price-label {
  margin: 0;
  padding: 0;
  color: var(--hs-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.ordering-process :is(.sidebar-in-cart,#checkoutSidebar) .price-wrapper .price {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  color: var(--hs-text);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
}

/* Primary action fills only the sidebar, with a quieter return link below. */
.ordering-process #checkoutSidebar .consents {
  margin: 20px 0 0;
  padding: 0;
  color: var(--hs-muted);
  font-size: 12px;
  line-height: 1.65;
}
.ordering-process #checkoutSidebar .consents a {
  color: var(--hs-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ordering-process :is(.sidebar-in-cart,#checkoutSidebar) .next-step {
  display: flex;
  flex-direction: column !important;
  flex-wrap: nowrap;
  align-items: stretch !important;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  margin: 24px 0 0;
  padding: 0;
}
.ordering-process :is(.sidebar-in-cart,#checkoutSidebar) .next-step > :is(.next-step-forward,.next-step-finish) {
  order: 0;
  flex: 0 0 auto;
  align-self: stretch;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  height: auto;
  margin: 0;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  text-transform: none;
  white-space: normal;
}
.ordering-process :is(.sidebar-in-cart,#checkoutSidebar) .next-step .order-button-text {
  padding: 0;
  font-size: 15px;
  line-height: 1.45;
  text-transform: none;
}
.ordering-process :is(.sidebar-in-cart,#checkoutSidebar) .next-step > .next-step-back {
  order: 1;
  align-self: center;
  width: auto;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 10px 8px;
  border: 0;
  background: transparent;
  color: var(--hs-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
  white-space: normal;
}
.ordering-process :is(.sidebar-in-cart,#checkoutSidebar) .next-step-back .continue-shopping {
  margin: 0;
  padding: 0;
  font: inherit;
  line-height: inherit;
}
.ordering-process #checkoutSidebar .next-step > #submit-order {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 56px;
  padding: 9px 16px;
}
.ordering-process #checkoutSidebar #submit-order .order-button-suffix {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

/* Real contact links are supplied by the sidebar enhancement script. */
.ordering-process :is(.sidebar-in-cart,#checkoutSidebar) > .checkout-box-wrapper,
.ordering-process #checkoutSidebar .hs-checkout-help {
  margin: 24px 0 0;
  padding: 20px 0 0;
  border: 0;
  border-top: 1px solid var(--hs-line);
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
}
.ordering-process :is(.sidebar-in-cart,#checkoutSidebar) > .checkout-box-wrapper {
  margin-inline: 24px;
}
.ordering-process .sidebar-in-cart .checkout-box-wrapper > .box,
.ordering-process #checkoutSidebar .hs-checkout-help > .box {
  display: block !important;
  visibility: visible;
  height: auto;
  transform: none;
  overflow: visible;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.ordering-process #checkoutSidebar .hs-checkout-help > .toggle-contacts {
  display: none;
}
.ordering-process :is(.sidebar-in-cart,#checkoutSidebar) .checkout-box-wrapper h2,
.ordering-process #checkoutSidebar .hs-checkout-help h2 {
  margin: 0 0 12px;
  color: var(--hs-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.ordering-process :is(.sidebar-in-cart,#checkoutSidebar) .contact-box {
  display: grid;
  grid-template-columns: 40px minmax(0,1fr);
  align-items: start;
  gap: 2px 12px;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}
.ordering-process :is(.sidebar-in-cart,#checkoutSidebar) .contact-box > img {
  grid-column: 1;
  grid-row: 1 / span 2;
  float: none;
  width: 40px;
  height: 40px;
  max-width: 40px;
  margin: 0;
  border-radius: 6px;
  object-fit: contain;
}
.ordering-process :is(.sidebar-in-cart,#checkoutSidebar) .contact-box > strong {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  padding: 0;
  color: var(--hs-text);
  font-size: 13px;
  line-height: 1.5;
}
.ordering-process :is(.sidebar-in-cart,#checkoutSidebar) .contact-box > ul {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.65;
}
.ordering-process :is(.sidebar-in-cart,#checkoutSidebar) .contact-box li {
  margin: 0;
  padding: 0;
  overflow-wrap: anywhere;
}
.ordering-process :is(.sidebar-in-cart,#checkoutSidebar) .contact-box a {
  color: var(--hs-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ordering-process :is(.sidebar-in-cart,#checkoutSidebar) .contact-box a:hover {
  color: var(--hs-green);
}

@media (max-width: 767px) {
  .ordering-process :is(.sidebar-in-cart,#checkoutSidebar) > .cart-content {
    padding: 20px;
  }
  .ordering-process :is(.sidebar-in-cart,#checkoutSidebar) > .checkout-box-wrapper {
    margin-inline: 20px;
    padding: 20px 0 0;
  }
  .ordering-process :is(.sidebar-in-cart,#checkoutSidebar) .price-wrapper .price {
    font-size: 24px;
  }
  .ordering-process #checkoutSidebar .hs-checkout-help {
    margin-top: 20px;
  }
}
