/* Cart page (/carrito/) — same visual language as the checkout (/pagar/, checkout.css): white
   12px cards, sentence case, 8px buttons in #0076f1, ghost secondary buttons.
   Desktop and tablet first: on phones centrale-mobile-ux owns the cart chrome (body.cmh-active), so those
   rules are scoped with :not(.cmh-active) — except the rows (cart-page.php's markup on every device: the
   table from 550 px, the phone rows under it) and the auto-update block at the end (cart.js updates the
   cart by itself, so «Actualizar carrito» never shows).
   Flatsome markup this targets: woocommerce/cart/cart.php (table + actions row),
   cart-totals.php (.cart_totals inside .cart-sidebar), cart-empty.php. */

body.woocommerce-cart:not(.cmh-active) {
  --ccart-ink: #111827;
  --ccart-text: #374151;
  --ccart-muted: #6b7280;
  --ccart-line: #e5e7eb;
  --ccart-field: #d1d5db;
  --ccart-blue: #0076f1;
  --ccart-blue-dark: #0061c7;
  --ccart-red: #dc2626;
}

/* ---- Layout: two cards instead of a divided row ------------------------- */
body.woocommerce-cart:not(.cmh-active) .woocommerce.row-divided > .col + .col {
  border-left: 0;
}
/* The card is the TABLE, not .cart-wrapper: centrale-recommendations prints «Frecuentemente comprados
   juntos» inside .cart-wrapper, after the table (its JS then moves it right after the form). */
body.woocommerce-cart:not(.cmh-active) .woocommerce-cart-form .shop_table.cart,
body.woocommerce-cart:not(.cmh-active) .cart-sidebar {
  background: #fff;
  border: 1px solid var(--ccart-line);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .03);
}
body.woocommerce-cart:not(.cmh-active) .woocommerce-cart-form .shop_table.cart {
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 24px;
}
body.woocommerce-cart:not(.cmh-active) .shop_table.cart tr > :first-child {
  padding-left: 20px;
}
body.woocommerce-cart:not(.cmh-active) .shop_table.cart tr > :last-child {
  padding-right: 20px;
}
body.woocommerce-cart:not(.cmh-active) .cart-sidebar {
  padding: 18px 20px 20px;
}

/* ---- Title (desktop; phones get centrale-mobile-ux's own header) ------------- */
body.woocommerce-cart:not(.cmh-active) h1.ccart-title {
  display: block;
  width: auto;
  margin: 4px 0 18px;
  color: var(--ccart-ink);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-align: left;
  text-transform: none;
}
body.woocommerce-cart:not(.cmh-active) .ccart-title__count {
  margin-left: 8px;
  color: var(--ccart-muted);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  white-space: nowrap;
}

/* ---- Cart table ---------------------------------------------------------- */
body.woocommerce-cart:not(.cmh-active) .shop_table.cart thead th {
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--ccart-muted);
  border-bottom: 1px solid var(--ccart-line);
  padding: 14px 8px 10px;
}
body.woocommerce-cart:not(.cmh-active) .shop_table.cart td {
  border-bottom: 1px solid var(--ccart-line);
  padding: 16px 8px;
  color: var(--ccart-text);
}
body.woocommerce-cart:not(.cmh-active) .shop_table.cart td.product-name a {
  color: var(--ccart-ink);
  font-weight: 400;
  line-height: 1.4;
}
body.woocommerce-cart:not(.cmh-active) .shop_table.cart td.product-name a:hover {
  color: var(--ccart-blue);
}
body.woocommerce-cart:not(.cmh-active) .shop_table.cart td.product-price,
body.woocommerce-cart:not(.cmh-active) .shop_table.cart td.product-subtotal {
  color: var(--ccart-ink);
  font-weight: 700;
  white-space: nowrap;
}
body.woocommerce-cart:not(.cmh-active) .shop_table.cart td.product-thumbnail img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #f9fafb;
  border: 1px solid var(--ccart-line);
  border-radius: 8px;
  padding: 3px;
}

/* Rows: Producto | Cantidad + trash | Total (cart-page.php «Rows», owner 2026-11-09). No «Precio» column; the
   remove cell is left empty (its link moved beside the stepper) and shrinks to the row's left padding. The photo
   then starts where «Producto» does. Any device whose cart column is 640 px or wider (the markup is cart-page.php's
   everywhere: a phone in landscape gets centrale-mobile-ux's chrome with this table); narrower, the stacked rows
   further down. */
body.woocommerce-cart .shop_table.cart .product-price {
  display: none;
}
body.woocommerce-cart .shop_table.cart td.product-remove {
  width: 0;
  padding-right: 0;
}
body.woocommerce-cart:not(.cmh-active) .shop_table.cart td.product-thumbnail {
  padding-left: 0;
}
body.woocommerce-cart .shop_table.cart .ccart-unit {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 16px;
  color: #6b7280;
}
/* «Bajó 12% desde que lo agregaste» / «Subió 4% …» under the name (cart-price-changes.php): a drop green with the old
   total struck in the price column, an increase quiet grey (owner, 2026-11-14). Its own line, never wider than the
   name cell: the row only grows by this line. */
body.woocommerce-cart .shop_table.cart .ccart-pc {
  display: table;
  margin-top: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 16px;
}
body.woocommerce-cart .shop_table.cart .ccart-pc--down {
  background: #e8f5ee;
  color: #0f7a3d;
  font-weight: 700;
}
body.woocommerce-cart .shop_table.cart .ccart-pc--up {
  background: #f3f4f6;
  color: #4b5563;
  font-weight: 400;
}
/* The line above the table saying how many changed (inside the cart form: every update re-renders it). */
body.woocommerce-cart .woocommerce-cart-form .ccart-pc-summary {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 20px;
}
body.woocommerce-cart .woocommerce-cart-form .ccart-pc-summary--down {
  background: #e8f5ee;
  color: #0b5f30;
}
body.woocommerce-cart .woocommerce-cart-form .ccart-pc-summary--up {
  background: #f5f7fa;
  color: #374151;
}
body.woocommerce-cart .shop_table.cart .ccart-line {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  white-space: nowrap;
}
body.woocommerce-cart .shop_table.cart .ccart-line__tag {
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  color: #0f7a3d;
}
/* A pack line's transfer total without the pack, struck through above its own (cc_cart_line_was_total). Grey and light:
   Flatsome's .amount{color:#111;font-weight:700} would draw the old price like the new one. */
body.woocommerce-cart .shop_table.cart .ccart-line__was,
body.woocommerce-cart .shop_table.cart .ccart-line__was .amount {
  font-size: 12.5px;
  font-weight: 400;
  line-height: 16px;
  color: #9ca3af;
}
body.woocommerce-cart .shop_table.cart .ccart-line__amt {
  font-size: 16px;
  font-weight: 700;
  line-height: 21px;
  color: #111827;
}
body.woocommerce-cart .shop_table.cart .ccart-line__normal {
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 16px;
  color: #6b7280;
}
body.woocommerce-cart .shop_table.cart .ccart-line__normal b {
  font-weight: 700;
  color: #374151;
}
/* Quantity stepper: one rounded group, like the checkout's fields. */
body.woocommerce-cart:not(.cmh-active) .shop_table.cart .ux-quantity {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--ccart-field);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
body.woocommerce-cart:not(.cmh-active) .shop_table.cart .ux-quantity .ux-quantity__button {
  width: 34px;
  min-height: 38px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #f9fafb;
  color: var(--ccart-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 38px;
  box-shadow: none;
}
body.woocommerce-cart:not(.cmh-active) .shop_table.cart .ux-quantity .ux-quantity__button:hover {
  background: #eef6ff;
  color: var(--ccart-blue);
}
body.woocommerce-cart:not(.cmh-active) .shop_table.cart .ux-quantity input.qty {
  width: 46px;
  min-height: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--ccart-line);
  border-right: 1px solid var(--ccart-line);
  border-radius: 0;
  box-shadow: none;
  color: var(--ccart-ink);
  font-weight: 700;
  text-align: center;
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
}

/* Actions row: «Seguir comprando» becomes a quiet text link. */
body.woocommerce-cart:not(.cmh-active) .shop_table.cart td.actions {
  border-bottom: 0;
  padding: 14px 20px 16px;
}
body.woocommerce-cart:not(.cmh-active) .shop_table.cart a.button-continue-shopping {
  margin: 0;
  padding: 0;
  min-height: 0;
  border: 0;
  background: none !important;
  color: var(--ccart-blue) !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none !important;
}
body.woocommerce-cart:not(.cmh-active) .shop_table.cart a.button-continue-shopping:hover {
  text-decoration: underline;
}

/* ---- Totals card ----------------------------------------------------------- */
body.woocommerce-cart:not(.cmh-active) .cart_totals > table:first-child th {
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ccart-ink);
  border-bottom: 0;
  padding: 0 0 6px;
}
body.woocommerce-cart:not(.cmh-active) .cart_totals .shop_table {
  margin-bottom: 0;
}
body.woocommerce-cart:not(.cmh-active) .cart_totals .shop_table th,
body.woocommerce-cart:not(.cmh-active) .cart_totals .shop_table td {
  border-bottom: 1px solid var(--ccart-line);
  padding: 11px 0;
  font-size: 14px;
}
body.woocommerce-cart:not(.cmh-active) .cart_totals .shop_table th {
  color: var(--ccart-muted);
  font-weight: 400;
}
body.woocommerce-cart:not(.cmh-active) .cart_totals .shop_table td {
  color: var(--ccart-ink);
  font-weight: 700;
}
body.woocommerce-cart:not(.cmh-active) .cart_totals .order-total th,
body.woocommerce-cart:not(.cmh-active) .cart_totals .order-total td {
  border-bottom: 0;
  padding-top: 14px;
  color: var(--ccart-ink);
}
/* «Total IVA incluido»: one line, level with the big amount under «Con transferencia» (the cell below holds the
   tag, the amount, «ahorras» and «Precio normal», so a middle-aligned label floated beside nothing). */
body.woocommerce-cart:not(.cmh-active) .cart_totals .order-total th {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  vertical-align: top;
  padding-top: 36px;
}
body.woocommerce-cart:not(.cmh-active) .cart_totals .order-total td strong {
  font-size: 22px;
  font-weight: 700;
}
/* «Subtotal» only with a coupon or fee between it and «Total» (owner, 2026-11-09): shipping isn't charged here,
   so on its own it repeated the total. When it shows it is the transfer subtotal, labelled (cart-page.php). */
body.woocommerce-cart:not(.cmh-active) .cart_totals:not(:has(tr.cart-discount, tr.fee)) tr.cart-subtotal {
  display: none;
}
body.woocommerce-cart:not(.cmh-active) .cart_totals tr.cart-subtotal .ccart-total-tag {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 700;
  color: #0f7a3d;
}
/* Despacho (cart-page.php): not priced on the cart, so the value is a sentence, not an amount. */
body.woocommerce-cart:not(.cmh-active) .cart_totals tr.ccart-shipping td {
  font-weight: 400;
  color: var(--ccart-text);
}
body.woocommerce-cart:not(.cmh-active) .cart_totals .ccart-shipping__pickup {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--ccart-muted);
}
/* The transfer total leads, labelled (cart-page.php, owner 2026-11-09, mockup «A»): «Total IVA incluido» is
   WooCommerce's total with «Con transferencia» right above it and «ahorras $Y» under it, then «Precio normal» with
   the card total and its 3 cuotas, in the same cell (2026-11-10). At 0 % (one price) the cuotas sit under it. */
body.woocommerce-cart:not(.cmh-active) .cart_totals .order-total .ccart-total-tag {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 700;
  color: #0f7a3d;
}
body.woocommerce-cart:not(.cmh-active) .cart_totals .order-total .ccart-total-saving {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
  color: #0f7a3d;
}
body.woocommerce-cart:not(.cmh-active) .cart_totals .order-total .ccart-total-saving .woocommerce-Price-amount {
  color: inherit;
}
body.woocommerce-cart:not(.cmh-active) .cart_totals .ccart-total-cuotas {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 400;
  color: var(--ccart-muted);
}
body.woocommerce-cart:not(.cmh-active) .cart_totals .ccart-total-cuotas strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--ccart-text);
}
/* «Precio normal $X / 3 cuotas sin interés de $Y» inside «Total», under «ahorras» (option «A», owner 2026-11-10):
   the same block as every product page. Smaller than the total, never crossed out; its own line above it. */
body.woocommerce-cart:not(.cmh-active) .cart_totals .order-total td .ccart-total-normal {
  display: block;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #f1f1f1;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: #4b5563;
  white-space: nowrap;
}
body.woocommerce-cart:not(.cmh-active) .cart_totals .order-total td .ccart-total-normal .ccart-normal-total__amount {
  font-size: 14px;
  font-weight: 700;
  color: var(--ccart-ink);
}
body.woocommerce-cart:not(.cmh-active) .cart_totals .order-total td .ccart-total-cuotas strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--ccart-text);
}

/* Buttons: one solid action (Comprar), the rest ghost — same as the checkout's .cc-btn / .ghost. */
body.woocommerce-cart:not(.cmh-active) .cart_totals .wc-proceed-to-checkout {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
}
body.woocommerce-cart:not(.cmh-active) .cart_totals .wc-proceed-to-checkout .button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid var(--ccart-field);
  border-radius: 8px;
  background: #fff;
  color: var(--ccart-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
  transition: background-color .15s, border-color .15s, color .15s;
}
body.woocommerce-cart:not(.cmh-active) .cart_totals .wc-proceed-to-checkout .button:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: var(--ccart-ink);
}
body.woocommerce-cart:not(.cmh-active) .cart_totals .wc-proceed-to-checkout a.checkout-button {
  min-height: 50px;
  border-color: var(--ccart-blue);
  background: var(--ccart-blue);
  color: #fff;
  font-size: 16px;
}
body.woocommerce-cart:not(.cmh-active) .cart_totals .wc-proceed-to-checkout a.checkout-button:hover {
  border-color: var(--ccart-blue-dark);
  background: var(--ccart-blue-dark);
  color: #fff;
}
body.woocommerce-cart:not(.cmh-active) .cart_totals .wc-proceed-to-checkout .button:focus-visible {
  outline: 2px solid var(--ccart-blue);
  outline-offset: 2px;
}
body.woocommerce-cart:not(.cmh-active) .cart_totals .wc-proceed-to-checkout .button svg {
  flex-shrink: 0;
}
/* Save-cart (centrale-account): its inline name form and the message under the buttons. */
body.woocommerce-cart:not(.cmh-active) .cart_totals .ca-save-cart {
  margin-top: 0 !important;
}
body.woocommerce-cart:not(.cmh-active) .cart_totals .ca-save-cart__form input.ca-save-cart__name {
  width: 100%;
  margin: 6px 0 10px !important;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: none;
}
body.woocommerce-cart:not(.cmh-active) .cart_totals .ca-save-cart__form .button {
  min-height: 42px;
}
body.woocommerce-cart:not(.cmh-active) .cart_totals .ca-save-cart__form .ca-save-cart__submit {
  border-color: var(--ccart-blue);
  background: var(--ccart-blue);
  color: #fff;
}
body.woocommerce-cart:not(.cmh-active) .cart_totals .ca-save-cart__form .ca-save-cart__submit:hover {
  border-color: var(--ccart-blue-dark);
  background: var(--ccart-blue-dark);
  color: #fff;
}

/* ---- Notices printed with the page (e.g. after «Agregar al carrito» elsewhere) -------------------
   After an AJAX update there is no «Carrito actualizado.» any more (cart-page.php) and a success notice
   becomes the toast below (cart.js); errors keep this inline look. */
body.woocommerce-cart:not(.cmh-active) .woocommerce-notices-wrapper .message-wrapper,
body.woocommerce-cart:not(.cmh-active) .woocommerce-notices-wrapper .woocommerce-message {
  margin: 0 0 16px;
  padding: 10px 14px;
  border: 0;
  border-radius: 8px;
  background: #ecfdf3;
  color: #067647;
  font-size: 14px;
  text-align: left;
}
body.woocommerce-cart:not(.cmh-active) .woocommerce-notices-wrapper .message-wrapper .message-container {
  padding: 0;
}
body.woocommerce-cart:not(.cmh-active) .woocommerce-notices-wrapper a.restore-item,
body.woocommerce-cart:not(.cmh-active) .woocommerce-notices-wrapper .woocommerce-message a {
  color: #067647;
  font-weight: 700;
  text-decoration: underline;
}
/* Errors and infos: the same box in /pagar/'s colours (.cc-alert-error / .cc-alert-info), never the success green
   above (`.message-wrapper` is on every Flatsome notice). Flatsome's error markup is ul.woocommerce-error.message-wrapper
   > li > div.message-container.alert-color + an icon-font «×»: `.alert-color` painted the text in the theme's yellow,
   and WooCommerce focuses the list on render (tabindex=-1, so screen readers read it: role="alert" still does) whose
   focus ring drew a blue frame. Owner's screenshot, 2026-11-14. The purchase limiter's own card is left alone. */
body.woocommerce-cart:not(.cmh-active) .woocommerce-notices-wrapper .woocommerce-error:not(:has(.centrale-limit-notice)) {
  padding: 10px 14px;
  list-style: none;
  background: #fef2f2;
  color: #b42318;
  outline: 0;
}
body.woocommerce-cart:not(.cmh-active) .woocommerce-notices-wrapper .woocommerce-info {
  background: #eff8ff;
  color: #175cd3;
}
body.woocommerce-cart:not(.cmh-active) .woocommerce-notices-wrapper .woocommerce-error:not(:has(.centrale-limit-notice)) > li {
  margin: 0;
  list-style: none;
}
body.woocommerce-cart:not(.cmh-active) .woocommerce-notices-wrapper .woocommerce-error:not(:has(.centrale-limit-notice)) > li + li {
  margin-top: 6px;
}
body.woocommerce-cart:not(.cmh-active) .woocommerce-notices-wrapper .woocommerce-error:not(:has(.centrale-limit-notice)) .message-container,
body.woocommerce-cart:not(.cmh-active) .woocommerce-notices-wrapper .woocommerce-info .message-container {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 0 0 0 26px;
  color: inherit;
  line-height: 1.45;
  text-align: left;
}
body.woocommerce-cart:not(.cmh-active) .woocommerce-notices-wrapper .woocommerce-error:not(:has(.centrale-limit-notice)) .message-icon {
  display: none;
}
/* /pagar/'s alert icons (circle + «!» / «i»), drawn in the text colour. */
body.woocommerce-cart:not(.cmh-active) .woocommerce-notices-wrapper .woocommerce-error:not(:has(.centrale-limit-notice)) .message-container::before,
body.woocommerce-cart:not(.cmh-active) .woocommerce-notices-wrapper .woocommerce-info .message-container::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.woocommerce-cart:not(.cmh-active) .woocommerce-notices-wrapper .woocommerce-info .message-container::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E");
}
body.woocommerce-cart:not(.cmh-active) .woocommerce-notices-wrapper .woocommerce-error a,
body.woocommerce-cart:not(.cmh-active) .woocommerce-notices-wrapper .woocommerce-info a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

/* Toast: fixed at the bottom, so a removal moves nothing on the page. Same family as the site's other
   toasts (centrale-wishlist, centrale-mobile-ux): dark, bottom-centred, white text. */
body.woocommerce-cart:not(.cmh-active) .ccart-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 14px;
  box-sizing: border-box;
  max-width: min(560px, calc(100vw - 32px));
  padding: 10px 10px 10px 18px;
  border-radius: 12px;
  background: rgba(17, 24, 39, .96);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .2), 0 2px 6px rgba(15, 23, 42, .1);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
body.woocommerce-cart:not(.cmh-active) .ccart-toast.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition: opacity .2s ease, transform .2s ease;
}
body.woocommerce-cart:not(.cmh-active) .ccart-toast__text {
  flex: 1 1 auto;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.woocommerce-cart:not(.cmh-active) .ccart-toast__actions {
  flex: 0 0 auto;
  display: flex;
  gap: 6px;
}
body.woocommerce-cart:not(.cmh-active) .ccart-toast__actions a {
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}
body.woocommerce-cart:not(.cmh-active) .ccart-toast__actions a:hover,
body.woocommerce-cart:not(.cmh-active) .ccart-toast__actions a:focus-visible {
  background: rgba(255, 255, 255, .26);
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  body.woocommerce-cart:not(.cmh-active) .ccart-toast,
  body.woocommerce-cart:not(.cmh-active) .ccart-toast.is-visible {
    transition: none;
  }
}

/* ---- Empty cart -------------------------------------------------------------- */
/* Same width as Guardados under it (centrale-wishlist saved.css, 600px): wide enough for its one-line rows. */
body.woocommerce-cart:not(.cmh-active) .woocommerce > .text-center:has(.cart-empty) {
  max-width: 600px;
  margin: 8px auto 40px;
  padding: 40px 24px 32px;
  background: #fff;
  border: 1px solid var(--ccart-line);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .03);
}
/* The title is cart-page.php's own <p> (cc_cart_empty_message), not WooCommerce's notice: wc-cart moved that one into
   the notices box after an AJAX removal. */
body.woocommerce-cart:not(.cmh-active) .ccart-empty-title {
  margin: 0 0 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ccart-ink);
  font-size: 20px;
  font-weight: 700;
}
/* The header cart button's basket (Flatsome's icon font, icon-shopping-basket = U+E909, loaded on every page by the
   header), like the side cart's empty state (owner, 2026-11-10: the icons should match the header's). The second
   `content` gives it empty alt text; browsers without that syntax keep the first. */
body.woocommerce-cart:not(.cmh-active) .ccart-empty-title::before {
  content: "\e909";
  content: "\e909" / "";
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #eef6ff;
  color: #0071e7;
  font-family: fl-icons;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: 64px;
  text-align: center;
}
/* ---- A removed line keeps its place (cart.js, owner 2026-11-11) ---------------------------------------------
   The row's own height (set inline) holds the line's ghost (owner, 2026-11-18: the grey card «doesn't look good»),
   laid out as the row was: its photo greyed, its name in grey with «Quitado» under it, «Deshacer» and the «×» that
   closes the message where the line's total was (never the trash's spot). Every device (the stacked rows: further
   down). With the cart emptied, the same ghosts wait above the empty cart's title. */
html body.woocommerce-cart .shop_table.cart tr.ccart-removed > td {
  padding: 8px 0;
  vertical-align: middle;
}
/* The table: photo | name, «Quitado» under it | «Deshacer» «×», all centred on the row's place; the name where the
   row's name was (cart.js measures it: --ccart-name-x). The text's rows are min-content: the clamped name (overflow
   hidden) counts as 0 tall for `auto`, and the photo spanning the spacers then grew them (an 85 px place took 103). */
body.woocommerce-cart .ccart-removed__card {
  position: relative;
  box-sizing: border-box;
  /* Its width from the row's place only: a placeholder spans every column, and its text's width made the table
     share them out again — every other row's stepper, trash and total moved ~50 px left (pre-2026-11-18). cart.js
     keeps the columns as they were (keepColumns); this covers a table it couldn't measure first (a removal made on
     the stacked rows, the window widened since). */
  contain: inline-size;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  grid-template-rows: 1fr min-content min-content 1fr;
  grid-template-areas: ". act close" "name act close" "state act close" ". act close";
  column-gap: 15px;
  align-items: center;
  border-radius: 8px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  outline: 0;
}
body.woocommerce-cart .ccart-removed__card.has-pic {
  grid-template-columns: max(64px, calc(var(--ccart-name-x, 79px) - 15px)) minmax(0, 1fr) auto auto;
  grid-template-areas: "pic . act close" "pic name act close" "pic state act close" "pic . act close";
}
body.woocommerce-cart .ccart-removed__card:focus-visible {
  outline: 2px solid #0071e7;
  outline-offset: 2px;
}
/* The sentence screen readers hear (role=status); the name and «Quitado» are its look. */
body.woocommerce-cart .ccart-removed__text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
/* The row's photo frame (the table's; the stacked rows' further down), greyed. */
body.woocommerce-cart .ccart-removed__card img.ccart-removed__pic {
  grid-area: pic;
  justify-self: start;
  display: block;
  box-sizing: border-box;
  width: 64px;
  height: 64px;
  max-width: none;
  margin: 0;
  padding: 3px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
  object-fit: contain;
  opacity: .4;
  filter: grayscale(1);
}
body.woocommerce-cart .ccart-removed__name {
  grid-area: name;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #6b7280;
  overflow-wrap: anywhere;
}
body.woocommerce-cart .ccart-removed__state {
  grid-area: state;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 16px;
  color: #6b7280;
}
body.woocommerce-cart .ccart-removed__card.is-missed .ccart-removed__state {
  color: #b45309;
}
/* Both buttons as tall as a fingertip but no taller than the line they sit on (negative margins). Flatsome's and
   centrale-mobile-ux's button look (uppercase, min-height, margins, fills, max-width 100 %: it shrank the «×» to its
   column) reset. */
body.woocommerce-cart .ccart-removed__actions {
  grid-area: act;
  display: flex;
  justify-self: end;
}
body.woocommerce-cart .ccart-removed__card a.ccart-removed__action {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 32px;
  max-width: none;
  margin: 0;
  padding: 6px 8px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #0066d1;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}
body.woocommerce-cart .ccart-removed__card a.ccart-removed__action:hover {
  background: #eef6ff;
  color: #0066d1;
}
body.woocommerce-cart .ccart-removed__card a.ccart-removed__action:focus-visible {
  outline: 2px solid #0071e7;
  outline-offset: 0;
}
body.woocommerce-cart .ccart-removed__card a.ccart-removed__action.is-busy {
  opacity: .6;
  pointer-events: none;
  cursor: progress;
}
body.woocommerce-cart .ccart-removed__card button.ccart-removed__close {
  grid-area: close;
  display: inline-flex;
  flex: 0 0 auto;
  justify-self: end;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 0;
  min-height: 0;
  max-width: none;
  margin: 0 -7px 0 -9px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #6b7280;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
  cursor: pointer;
}
body.woocommerce-cart .ccart-removed__card button.ccart-removed__close:hover {
  background: #f3f4f6;
  color: #111827;
}
body.woocommerce-cart .ccart-removed__card button.ccart-removed__close:focus-visible {
  outline: 2px solid #0071e7;
  outline-offset: 0;
}
body.woocommerce-cart .ccart-removed__close svg {
  display: block;
  flex: none;
  pointer-events: none;
}
/* Measured from the row (cart.js; the table only): «Deshacer» where the row's stepper was — always left of the trash —
   and the «×» where its total was. */
@container ccart-rows (min-width: 640px) {
  body.woocommerce-cart .ccart-removed__card.is-aligned {
    grid-template-columns: max(64px, calc(var(--ccart-name-x) - 15px)) calc(var(--ccart-stepper-x) - var(--ccart-name-x) - 15px) auto minmax(0, 1fr) auto;
    grid-template-areas: "pic . act . close" "pic name act . close" "pic state act . close" "pic . act . close";
  }
  body.woocommerce-cart .ccart-removed__card.is-aligned .ccart-removed__actions {
    justify-self: start;
    margin-left: -8px;
  }
  body.woocommerce-cart .ccart-removed__card.is-aligned.is-swapped,
  body.woocommerce-cart .ccart-removed__card.has-pic.is-aligned.is-swapped {
    grid-template-columns: max(64px, calc(var(--ccart-name-x) - 15px)) calc(var(--ccart-stepper-x) - var(--ccart-name-x) - 15px) auto minmax(0, 1fr) auto;
    grid-template-areas: "pic . close . act" "pic name close . act" "pic state close . act" "pic . close . act";
  }
}
/* The trash's spot under «Deshacer» all the same (a narrow total column): the «×» goes first (cart.js
   keepActionOffTheTrash). */
body.woocommerce-cart .ccart-removed__card.is-swapped {
  grid-template-columns: minmax(0, 1fr) auto auto;
  grid-template-areas: ". close act" "name close act" "state close act" ". close act";
}
body.woocommerce-cart .ccart-removed__card.has-pic.is-swapped {
  grid-template-columns: max(64px, calc(var(--ccart-name-x, 79px) - 15px)) minmax(0, 1fr) auto auto;
  grid-template-areas: "pic . close act" "pic name close act" "pic state close act" "pic . close act";
}
/* A removed line still on the server (its turn hasn't come): hidden behind its placeholder (cart.js). A link clicked
   while changes are on their way waits for them. */
html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tr.ccart-leaving {
  display: none !important;
}
body.woocommerce-cart a.ccart-waiting {
  opacity: .7;
  cursor: progress;
}
/* The emptied cart's ghosts, one under the other with the rows' line; the table's or the stacked rows' layout by
   the list's own width (the same container name as the form). */
body.woocommerce-cart .ccart-removed-list {
  container: ccart-rows / inline-size;
  display: flex;
  flex-direction: column;
  margin: 0 0 28px;
}
/* Flatsome centres `.text-center > div > div` with auto margins (the empty card is .text-center), which kept the
   cards from stretching: each one took its text's width. */
body.woocommerce-cart .ccart-removed-list .ccart-removed__card {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid #ececec;
}
body.woocommerce-cart:not(.cmh-active) .ccart-empty-hint {
  margin: 0 0 20px;
  color: var(--ccart-muted);
  font-size: 14px;
}
body.woocommerce-cart:not(.cmh-active) .return-to-shop .button {
  margin: 0;
  min-height: 46px;
  padding: 10px 22px;
  border: 1px solid var(--ccart-blue);
  border-radius: 8px;
  background: var(--ccart-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0;
  text-transform: none;
}
body.woocommerce-cart:not(.cmh-active) .return-to-shop .button:hover {
  border-color: var(--ccart-blue-dark);
  background: var(--ccart-blue-dark);
}

/* The quote button typed into the /carrito/ page content (above [woocommerce_cart]) showed even on
   an EMPTY cart; centrale-self-service-quotations now renders «Cotizar en PDF» inside the totals. */
body.woocommerce-cart .cq-cart-button-wrap {
  display: none !important;
}

/* ---- Rows, every viewport: the stepper + trash group (cart-page.php moves the remove link beside the stepper) ----
   Flatsome positions `.shop_table .product-remove a` absolutely under 850 px (its «×» cell) and centrale-mobile-ux
   draws its phone trash as a bordered circle: here it is the side cart's plain icon button. Flatsome's «1 x $X»
   under the name goes: the line's total and «c/u» say it. */
body.woocommerce-cart .shop_table.cart .mobile-product-price {
  display: none;
}
body.woocommerce-cart .shop_table.cart .ccart-qty {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  vertical-align: middle;
}
/* The last unit (cart-page.php, «The last units»): «+» greyed out and disabled, the reason under the stepper. Specific
   enough to beat the stepper's hover and the phone rules below. */
html body.woocommerce-cart .shop_table.cart .ux-quantity .ux-quantity__button.ux-quantity__button--plus:disabled,
html body.woocommerce-cart .shop_table.cart .ux-quantity:has(> input.qty.cc-qty-at-max) .ux-quantity__button.ux-quantity__button--plus {
  background: #f9fafb;
  color: #c4c9d1;
  cursor: not-allowed;
}
body.woocommerce-cart .shop_table.cart .ccart-qty-max {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 16px;
  color: #6b7280;
}
body.woocommerce-cart .shop_table.cart .ccart-qty-max[hidden] {
  display: none;
}
body.woocommerce-cart .shop_table.cart .ccart-remove {
  position: static;
  display: inline-flex;
  width: auto;
  padding: 0;
}
body.woocommerce-cart .shop_table.cart .ccart-remove a {
  position: static;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 8px;
  background: none !important;
  box-shadow: none;
  color: #6b7280 !important;
  font-size: 0 !important;
  line-height: 1 !important;
  transition: color .15s, background-color .15s;
}
body.woocommerce-cart .shop_table.cart .ccart-remove a:hover,
body.woocommerce-cart .shop_table.cart .ccart-remove a:focus-visible {
  background: #fef2f2 !important;
  color: #dc2626 !important;
}
body.woocommerce-cart .shop_table.cart .ccart-remove svg {
  display: block;
  width: 18px;
  height: 18px;
}

/* ---- Stacked rows: the side cart's phone rows wherever the cart column is under 640 px ------------------------
   Phones (with or without centrale-mobile-ux's chrome) and the desktop column on 850–1199 px screens, where a
   table row left the name ~70 px (10 lines). The name on top at full width («c/u» under it), then photo · stepper
   + trash (centred both ways) · the two prices; each row becomes a grid. Keyed on the column (a container query
   on the form, which WooCommerce re-renders whole), not the screen. With centrale-mobile-ux (body.cmh-active) its
   sticky bar shows the totals. A browser without container queries keeps the table; under 550 px Flatsome would
   hide its line total there, so it comes back. */
body.woocommerce-cart .woocommerce-cart-form {
  container: ccart-rows / inline-size;
}
@supports not (container-type: inline-size) {
  @media (max-width: 549px) {
    body.woocommerce-cart .shop_table.cart .product-subtotal {
      display: table-cell;
    }
  }
}
body.woocommerce-cart .shop_table.cart .ux-quantity input.qty::-webkit-inner-spin-button,
body.woocommerce-cart .shop_table.cart .ux-quantity input.qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
@container ccart-rows (max-width: 639px) {
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart,
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart > tbody {
    display: block;
    width: 100%;
  }
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart > thead {
    display: none;
  }
  /* The table's columns kept after a removal (cart.js keepColumns): no columns here. */
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart > colgroup.ccart-cols {
    display: none;
  }
  /* Without centrale-mobile-ux the table keeps its desktop card (border, radius): the rows sit inside it. */
  html body.woocommerce-cart:not(.cmh-active) .woocommerce-cart-form .shop_table.cart {
    padding: 0 12px;
  }
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tr.cart_item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto minmax(0, 1fr) auto;
    grid-template-areas: "name name name name name" "pic . qty . price";
    column-gap: 6px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #ececec;
  }
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tr.cart_item > td {
    display: block;
    width: auto;
    min-width: auto;
    max-width: none;
    padding: 0;
    border: 0;
    text-align: left;
  }
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tr.cart_item > td.product-remove,
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tr.cart_item > td.product-price {
    display: none;
  }
  /* A removed line's placeholder (cart.js): the row's height and line, the card across the column. */
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tr.ccart-removed {
    display: flex;
    align-items: stretch;
    box-sizing: border-box;
    border-bottom: 1px solid #ececec;
  }
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tr.ccart-removed > td {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    padding: 14px 0;
    border: 0;
  }
  /* A removed line's ghost, as the stacked rows (centred in the row's place): the name on top (one line: beside the
     «×» it must not take a line more than the row's did), then photo · «Quitado» · «Deshacer» where the line's total
     was, centred on the photo. */
  body.woocommerce-cart .ccart-removed__card {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: ". ." "name close" "state act" ". .";
    column-gap: 12px;
    align-items: start;
  }
  body.woocommerce-cart .ccart-removed__card.has-pic {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    grid-template-areas: ". . ." "name name close" "pic state act" ". . .";
  }
  body.woocommerce-cart .ccart-removed__name {
    -webkit-line-clamp: 1;
  }
  body.woocommerce-cart .ccart-removed__card img.ccart-removed__pic {
    width: 56px;
    height: 56px;
    padding: 2px;
  }
  body.woocommerce-cart .ccart-removed__card img.ccart-removed__pic,
  body.woocommerce-cart .ccart-removed__state {
    align-self: center;
    margin-top: 10px;
  }
  body.woocommerce-cart .ccart-removed__actions {
    align-self: center;
    margin: 10px -8px 0 0;
  }
  body.woocommerce-cart .ccart-removed__card button.ccart-removed__close {
    margin: -6px -7px;
  }
  body.woocommerce-cart .ccart-removed__card.is-swapped {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: ". ." "name act" "state close" ". .";
  }
  body.woocommerce-cart .ccart-removed__card.has-pic.is-swapped {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    grid-template-areas: ". . ." "name name act" "pic state close" ". . .";
  }
  body.woocommerce-cart .ccart-removed__card.is-swapped .ccart-removed__actions {
    align-self: start;
    margin: -6px -8px -6px 0;
  }
  body.woocommerce-cart .ccart-removed__card.is-swapped button.ccart-removed__close {
    align-self: center;
    margin: 10px -7px 0 0;
  }
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tr.cart_item > td.product-name {
    grid-area: name;
    font-size: 14px;
    line-height: 1.35;
  }
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart td.product-name a {
    color: #111827;
  }
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart .ccart-unit {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    line-height: 16px;
    color: #6b7280;
  }
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart .ccart-pc {
    margin-top: 4px;
    font-size: 11.5px;
    line-height: 15px;
  }
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tr.cart_item > td.product-thumbnail {
    grid-area: pic;
    margin-top: 10px;
  }
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart td.product-thumbnail img {
    display: block;
    box-sizing: border-box;
    width: 56px;
    height: 56px;
    margin: 0;
    padding: 2px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    object-fit: contain;
  }
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tr.cart_item > td.product-quantity {
    grid-area: qty;
    margin-top: 10px;
  }
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tr.cart_item > td.product-subtotal {
    grid-area: price;
    justify-self: end;
    margin-top: 10px;
    text-align: right;
  }
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart .ux-quantity {
    display: inline-flex;
    align-items: stretch;
    margin: 0;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    opacity: 1;
  }
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart .ux-quantity .ux-quantity__button {
    width: 30px;
    min-height: 34px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #f9fafb;
    color: #374151;
    font-size: 16px;
    font-weight: 700;
    line-height: 34px;
    box-shadow: none;
  }
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart .ux-quantity input.qty {
    width: 38px;
    height: 34px;
    min-height: 34px;
    margin: 0;
    padding: 0;
    border: 0;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    border-radius: 0;
    box-shadow: none;
    color: #111827;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
  }
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart .ccart-remove a {
    width: 32px;
    height: 34px;
  }
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart .ccart-line {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    white-space: normal;
  }
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart .ccart-line__tag {
    font-size: 11px;
    font-weight: 700;
    line-height: 13px;
    color: #0f7a3d;
  }
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart .ccart-line__was,
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart .ccart-line__was .amount {
    font-size: 11.5px;
    line-height: 14px;
    white-space: nowrap;
  }
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart .ccart-line__amt {
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
    color: #111827;
    white-space: nowrap;
  }
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart .ccart-line__normal {
    margin-top: 3px;
    font-size: 11.5px;
    font-weight: 400;
    line-height: 14px;
    color: #6b7280;
  }
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart .ccart-line__normal b {
    display: block;
    font-weight: 700;
    color: #374151;
    white-space: nowrap;
  }
}
/* Phones without centrale-mobile-ux's chrome: no card around the rows (the same width as with it). */
@container ccart-rows (max-width: 549px) {
  html body.woocommerce-cart:not(.cmh-active) .woocommerce-cart-form .shop_table.cart {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
}
/* 320 px phones (a 290 px column): a smaller photo, stepper, gaps and amount, so an 8-digit price still fits. */
@container ccart-rows (max-width: 329px) {
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tr.cart_item {
    grid-template-columns: 44px minmax(0, 1fr) auto minmax(0, 1fr) auto;
    column-gap: 6px;
  }
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart td.product-thumbnail img {
    width: 44px;
    height: 44px;
  }
  body.woocommerce-cart .ccart-removed__card.has-pic {
    grid-template-columns: 44px minmax(0, 1fr) auto;
  }
  body.woocommerce-cart .ccart-removed__card img.ccart-removed__pic {
    width: 44px;
    height: 44px;
  }
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart .ux-quantity .ux-quantity__button {
    width: 28px;
  }
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart .ux-quantity input.qty {
    width: 34px;
  }
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart .ccart-remove a {
    width: 30px;
  }
  html body.woocommerce-cart .woocommerce-cart-form .shop_table.cart .ccart-line__amt {
    font-size: 14px;
  }
}
body.woocommerce-cart .shop_table.cart .ccart-line .amount {
  color: inherit;
  font-weight: inherit;
}

/* ---- Auto-update (every viewport) -----------------------------------------------
   cart.js submits the cart by itself when a quantity changes, so the button that used to wait for
   a click (disabled-looking on desktop; centrale-mobile-ux's «dirty» pill on phones) stays hidden.
   Only with JS: without it (no .woocommerce-js) the button is the only way to update. */
html body[class].woocommerce-cart.woocommerce-js .woocommerce-cart-form button[name="update_cart"],
html body[class].woocommerce-cart.woocommerce-js .woocommerce-cart-form button[name="update_cart"].cmh-cart-update--dirty {
  display: none !important;
}
