body.mm-cart #Content {
  overflow-x: clip;
  max-width: 100%;
  min-width: 0;
}

body.mm-cart .woocommerce,
body.mm-cart .mfn-be-cart .woocommerce:not(.mfn-cart-tmpl-builder) {
  display: block !important;
  max-width: 100% !important;
  min-width: 0 !important;
  flex-wrap: nowrap;
}

body.mm-cart .mfn-checkout-steps {
  display: none !important;
}

.mm-cart-page {
  max-width: var(--measure-page);
  margin: 0 auto;
  padding: 32px var(--gutter-page) 80px;
  min-width: 0;
  overflow-x: hidden;
  scroll-margin-top: 96px;
}

@media (min-width: 900px) {
  .mm-cart-page {
    padding-left: var(--gutter-page-lg);
    padding-right: var(--gutter-page-lg);
  }
}

@media (max-width: 767px) {
  body.mm-cart .section_wrapper {
    padding: 0 !important;
  }
}

.mm-cart-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand) !important;
  text-decoration: none !important;
}

.mm-cart-page h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-3xl);
  line-height: 1.1;
  color: var(--text-strong);
  margin: 16px 0 4px;
}

.mm-cart-lead {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0 0 32px;
}

.mm-cart-empty {
  background: var(--branco);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 64px 32px;
  text-align: center;
}

.mm-cart-empty__icon {
  display: inline-flex;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--azul-50);
  color: var(--brand);
  align-items: center;
  justify-content: center;
}

.mm-cart-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
}

.mm-cart-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.mm-cart-resumo {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  position: static;
}

@media (min-width: 1100px) {
  .mm-cart-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: 32px;
    align-items: start;
  }

  .mm-cart-resumo {
    position: sticky;
    top: 24px;
  }

  .mm-cart-help {
    grid-column: 1 / -1;
  }

  .mm-cart-grid > div:not(.mm-cart-items):not(.mm-cart-resumo) {
    grid-column: 1 / -1;
  }
}

body.mm-cart .mm-cart-page .woocommerce-cart-form,
body.mm-cart .mm-cart-page table.ajaxcarrinhoresistente,
body.mm-cart #Content #datatables-aplicar2 {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  flex-basis: auto !important;
  float: none !important;
  margin-left: 0 !important;
  border: 0 !important;
  box-sizing: border-box;
}

body.mm-cart .mm-cart-resumo,
body.mm-cart .mm-cart-resumo .cart-collaterals,
body.mm-cart .mm-cart-resumo .cart_totals {
  width: 100% !important;
  max-width: 100% !important;
  flex-basis: auto !important;
  float: none !important;
  margin-left: 0 !important;
  box-sizing: border-box;
}

.mm-cart-page form.woocommerce-cart-form,
.mm-cart-page table.ajaxcarrinhoresistente,
.mm-cart-page table.ajaxcarrinhoresistente tbody,
.mm-cart-page table.ajaxcarrinhoresistente tr,
.mm-cart-page table.ajaxcarrinhoresistente td {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
  float: none !important;
  text-align: left !important;
}

.mm-cart-page table.ajaxcarrinhoresistente > tbody > tr[style*="display:none"],
.mm-cart-page tr.actions {
  display: none !important;
}

.mm-cart-page table.ajaxcarrinhoresistente {
  border: 0;
  background: transparent;
  overflow: hidden;
}

.mm-cart-page table.ajaxcarrinhoresistente thead {
  display: none !important;
}

.mm-cart-page table.ajaxcarrinhoresistente tbody {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mm-cart-page tr.woocommerce-cart-form__cart-item.mini,
.mm-cart-row {
  display: block;
  background: var(--branco);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 16px;
  overflow: hidden;
}

.mm-cart-group-head {
  display: block;
  background: var(--branco);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  padding: 16px;
  margin-top: 16px;
  overflow: hidden;
}

.mm-cart-page tbody > tr[style*="display:none"]:first-child + .mm-cart-group-head {
  margin-top: 0;
}

.mm-cart-group-head + .mm-cart-row,
.mm-cart-row + .mm-cart-row {
  border-top: 0;
  border-radius: 0;
  padding: 12px 16px;
}

.mm-cart-row.is-last {
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.mm-cart-page .mm-cart-row > .product-id,
.mm-cart-page .mm-cart-row > .product-name,
.mm-cart-page .mm-cart-row > .product-thumbnail {
  display: none !important;
}

.mm-cart-group__product,
.mm-cart-card {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: nowrap;
  min-width: 0;
  width: 100%;
}

.mm-cart-card__thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  background: var(--neutro-100);
  flex: 0 0 72px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mm-cart-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mm-cart-card__body {
  flex: 1 1 auto;
  min-width: 0;
}

.mm-cart-card__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-strong);
  line-height: 1.35;
}

.mm-cart-card__name a {
  display: -webkit-box;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
}

.mm-cart-card__name dl.variation,
.mm-cart-card__body dl.variation {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 10px;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  box-sizing: border-box;
  margin: 8px 0 0;
  padding: 2px 10px;
  background: var(--surface-sunken);
  border-radius: var(--radius-sm);
}

.mm-cart-card__name dl.variation dt,
.mm-cart-card__name dl.variation dd {
  float: none !important;
  width: auto !important;
  margin: 0;
  padding: 6px 0;
}

.mm-cart-card__name dl.variation dd,
.mm-cart-card__name dl.variation dd p {
  margin: 0;
  min-width: 0;
  text-align: right;
  overflow-wrap: break-word;
}

.mm-cart-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
  flex-wrap: wrap;
}

.mm-cart-card__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: 0;
}

.mm-cart-card__total {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-strong);
  white-space: nowrap;
}

.mm-cart-card .product-desconto {
  font-size: 12px;
  color: var(--text-muted);
}

.mm-cart-color {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
  width: 100%;
}

.mm-cart-color__info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 15px;
  color: var(--text-body);
}

.mm-cart-color__unit {
  color: var(--text-muted);
  font-size: 13px;
}

.mm-cart-color__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-left: auto;
  min-width: 0;
  max-width: 100%;
}

.mm-cart-color__total {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-strong);
  min-width: 5.5em;
  text-align: right;
}

.mm-cart-color .product-remova a,
body.mm-cart .mm-cart-page a.cart_remover_cor,
body.mm-cart .mm-cart-page a.cart_atualizar_cor {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
  height: auto !important;
  line-height: 1.2 !important;
  min-width: 0 !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted) !important;
  text-decoration: none !important;
}

body.mm-cart .mm-cart-page a.cart_remover_cor .button_icon,
body.mm-cart .mm-cart-page a.cart_atualizar_cor .button_icon {
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  font-size: inherit;
  line-height: inherit;
}

.mm-cart-color .product-remova a:hover,
body.mm-cart .mm-cart-page a.cart_remover_cor:hover {
  color: var(--state-danger) !important;
}

body.mm-cart .mm-cart-page a.cart_atualizar_cor {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}

.mm-cart-help {
  background: var(--azul-50);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.mm-cart-resumo .cart-collaterals {
  display: flex;
  flex-direction: column;
  background: var(--branco);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 20px !important;
  box-sizing: border-box;
  overflow: hidden;
}

.mm-cart-resumo .cart_totals h4.title,
.mm-cart-resumo .mfn-woo-cart-link,
.mm-cart-resumo .woocommerce-shipping-totals,
.mm-cart-resumo .resistente-caixas-info,
.mm-cart-resumo .woocommerce-shipping-calculator,
.mm-cart-resumo .woocommerce-form-coupon-toggle,
.mm-cart-resumo .cart-coupon-box,
.mm-cart-resumo .alert_info {
  display: none !important;
}

.mm-cart-resumo table.shop_table,
.mm-cart-resumo table.shop_table tbody,
.mm-cart-resumo table.shop_table tr,
body.mm-cart .mm-cart-resumo table.shop_table,
body.mm-cart .mm-cart-resumo table.shop_table th,
body.mm-cart .mm-cart-resumo table.shop_table td {
  border: 0 !important;
  border-width: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

.mm-cart-resumo table.shop_table {
  table-layout: fixed;
  width: 100% !important;
  max-width: 100%;
  border-collapse: collapse !important;
  margin: 0 0 8px !important;
}

.mm-cart-resumo table.shop_table th,
.mm-cart-resumo table.shop_table td {
  padding: 10px 0 !important;
  font-size: 15px;
  line-height: 1.35;
  vertical-align: middle;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.mm-cart-resumo table.shop_table th {
  width: 42%;
  text-align: left !important;
  padding-right: 12px !important;
  font-weight: 500 !important;
  color: var(--text-muted);
}

.mm-cart-resumo table.shop_table td {
  width: 58%;
  text-align: right !important;
  font-weight: 600 !important;
  color: var(--text-strong);
}

.mm-cart-resumo table.shop_table .shipping td {
  font-weight: 500 !important;
  font-size: 14px;
  color: var(--text-muted);
}

.mm-cart-resumo table.shop_table .order-total th,
.mm-cart-resumo table.shop_table .order-total td {
  padding-top: 18px !important;
  font-weight: 700 !important;
  color: var(--text-strong);
}

.mm-cart-resumo table.shop_table .order-total th {
  font-size: 16px;
  vertical-align: bottom;
}

.mm-cart-resumo table.shop_table .order-total td {
  vertical-align: bottom;
}

.mm-cart-resumo .order-total .woocommerce-Price-amount {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  word-break: normal;
  letter-spacing: -0.02em;
}

.mm-cart-resumo .order-total small,
.mm-cart-resumo .order-total .includes_tax {
  display: none;
}

.mm-cart-resumo .woocommerce-shipping-contents,
.mm-cart-resumo .resistente-caixas-info small {
  display: block;
  font-size: 12px;
  line-height: 1.4;
}

.mm-cart-resumo .shipping-calculator-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  height: auto !important;
  line-height: 1.3 !important;
  padding: 10px 12px !important;
  white-space: normal;
  box-sizing: border-box;
}

.mm-cart-resumo .cart_totals {
  order: 1;
}

.mm-cart-resumo .cart-coupon-box {
  order: 2;
}

.mm-cart-resumo .cross-sells {
  display: none;
}

.mm-cart-resumo h2 {
  font-size: 21px;
  font-weight: 600;
  color: var(--text-strong);
  margin: 0 0 20px;
}

.mm-cart-resumo .cart_totals,
.mm-cart-resumo table.shop_table {
  width: 100%;
  border: 0 !important;
  background: transparent;
}

.mm-cart-pay {
  margin: 16px 0 20px;
}

.mm-cart-pay__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 8px;
}

.mm-cart-pay__item {
  font-size: 14px;
  color: var(--text-body);
  padding: 6px 0;
}

.mm-cart-note {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  text-align: center;
  margin: 12px 0 0;
}

.mm-cart-page .cart-coupon-toggle {
  display: none;
}

.mm-cart-page .cart-coupon-box .checkout_coupon {
  display: block !important;
  border: 0;
  padding: 0;
  margin: 16px 0;
}

.mm-cart-page .checkout_coupon .form-row {
  width: 100% !important;
  float: none !important;
  margin: 0 0 8px !important;
}

.mm-cart-page .checkout_coupon input,
.mm-cart-page .checkout_coupon button,
.mm-cart-page #calc_shipping_postcode,
.mm-cart-page .shipping-calculator-form input {
  height: 48px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
}

.mm-cart-page .checkout_coupon button,
.mm-cart-page .wc-proceed-to-checkout .checkout-button,
.mm-cart-page a.checkout-button {
  background: var(--accent) !important;
  color: var(--accent-ink) !important;
  border: 0 !important;
  border-radius: var(--radius-md) !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  height: 56px;
  line-height: 56px !important;
  padding: 0 20px !important;
  width: 100%;
  text-align: center;
}

.mm-cart-page .woocommerce-shipping-calculator {
  margin-top: 12px;
}

.mm-cart-page .quantity,
.mm-cart-page .quantitydesconto,
.mm-cart-page .mm-stepper {
  width: auto !important;
  max-width: 100% !important;
  position: relative;
}

.mm-cart-page .mm-stepper a.quantity-change,
.mm-cart-page .quantitydesconto a.quantity-change {
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
}

.mm-cart-page input.qty,
.mm-cart-page #cart_quantity,
.mm-cart-page .mm-stepper input.qty {
  width: 48px !important;
  max-width: 56px !important;
  padding: 0 !important;
}

body.mm-cart .cart-coupon-box,
body.mm-cart .cart_totals {
  width: 100% !important;
  float: none !important;
}

.mm-cart-page #search-input-carrinho {
  display: none;
}

body.mm-cart .section_wrapper:has(.ffb-campaign-cart-wrapper),
body.mm-cart .the_content_wrapper.ffb-campaign-cart-wrapper {
  max-width: var(--measure-page) !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--gutter-page) !important;
  padding-right: var(--gutter-page) !important;
  box-sizing: border-box;
}

body.mm-cart .the_content_wrapper.ffb-campaign-cart-wrapper {
  padding-top: 16px !important;
  margin-bottom: 0 !important;
}

body.mm-cart .mm-cart-page {
  padding-top: 20px;
}

body.mm-cart .ffb-campaign-cart-card {
  background: var(--branco);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-raised);
}

@media (min-width: 900px) {
  body.mm-cart .section_wrapper:has(.ffb-campaign-cart-wrapper),
  body.mm-cart .the_content_wrapper.ffb-campaign-cart-wrapper {
    padding-left: var(--gutter-page-lg) !important;
    padding-right: var(--gutter-page-lg) !important;
  }
}
