/* =========================================================================
   Cart Page Layout - front-end styles
   Every colour, radius and size is a custom property on .wcpl-cart, so the
   Elementor style controls only have to set one variable each.
   ========================================================================= */

.wcpl-cart {
  --wcpl-accent: #d10419;
  --wcpl-accent-hover: #b00315;
  --wcpl-accent-contrast: #ffffff;
  --wcpl-accent-soft: rgba(209, 4, 25, 0.08);
  --wcpl-card-bg: #ffffff;
  --wcpl-card-border: #f0f0f1;
  --wcpl-card-radius: 16px;
  --wcpl-card-padding: 24px;
  --wcpl-card-shadow: none;
  --wcpl-line: #eeeff1;
  --wcpl-soft: #f8f8f9;
  --wcpl-heading: #16181a;
  --wcpl-text: #2c2f33;
  --wcpl-muted: #8a8f96;
  --wcpl-summary-width: 360px;
  --wcpl-gap: 24px;
  --wcpl-thumb: 76px;
  --wcpl-btn-radius: 40px;
  --wcpl-btn-height: 52px;
  --wcpl-field-radius: 10px;

  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--wcpl-summary-width);
  align-items: start;
  gap: var(--wcpl-gap);
  color: var(--wcpl-text);
  font-family: inherit;
}

/* Tints the accent automatically where a browser supports it. */
@supports (color: color-mix(in srgb, red 10%, white)) {
  .wcpl-cart {
    --wcpl-accent-soft: color-mix(in srgb, var(--wcpl-accent) 9%, transparent);
  }
}

.wcpl-cart *,
.wcpl-cart *::before,
.wcpl-cart *::after {
  box-sizing: border-box;
}

/* Themes often set a font on body only, which leaves tables, inputs and
   buttons on the browser's serif default. Everything here follows the page
   font unless a typography control says otherwise. */
.wcpl-cart table,
.wcpl-cart tr,
.wcpl-cart th,
.wcpl-cart td,
.wcpl-cart p,
.wcpl-cart a,
.wcpl-cart dl,
.wcpl-cart dt,
.wcpl-cart dd,
.wcpl-cart span,
.wcpl-cart small,
.wcpl-cart strong,
.wcpl-cart label,
.wcpl-cart input,
.wcpl-cart select,
.wcpl-cart button {
  font-family: inherit;
}

.wcpl-cart--empty {
  grid-template-columns: minmax(0, 1fr);
}

.wcpl-cart__main {
  min-width: 0;
}

.wcpl-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}

.wcpl-cart--sticky .wcpl-cart__summary {
  position: sticky;
  top: 24px;
}

/* Cards ------------------------------------------------------------------ */

.wcpl-card {
  background: var(--wcpl-card-bg);
  border: 1px solid var(--wcpl-card-border);
  border-radius: var(--wcpl-card-radius);
  box-shadow: var(--wcpl-card-shadow);
  padding: var(--wcpl-card-padding);
}

.wcpl-card--items {
  padding-block: 4px;
}

/* Table ------------------------------------------------------------------ */

/* WooCommerce and most themes style .shop_table with borders, paddings and a
   background of their own, and some of those rules outrank a plain class
   selector. This reset is the one place !important is used. */
.wcpl-cart .wcpl-table,
.wcpl-cart .wcpl-table tr,
.wcpl-cart .wcpl-table th,
.wcpl-cart .wcpl-table td,
.wcpl-cart .wcpl-totals,
.wcpl-cart .wcpl-totals tr,
.wcpl-cart .wcpl-totals th,
.wcpl-cart .wcpl-totals td {
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.wcpl-cart .wcpl-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 15px;
}

.wcpl-cart .wcpl-table th,
.wcpl-cart .wcpl-table td {
  padding: 20px 12px;
  text-align: start;
  vertical-align: middle;
  line-height: 1.4;
}

.wcpl-cart .wcpl-table th:first-child,
.wcpl-cart .wcpl-table td:first-child {
  padding-inline-start: 0;
}

.wcpl-cart .wcpl-table th:last-child,
.wcpl-cart .wcpl-table td:last-child {
  padding-inline-end: 0;
}

.wcpl-cart .wcpl-table thead th {
  font-size: 15px;
  font-weight: 600;
  color: var(--wcpl-heading);
  white-space: nowrap;
}

.wcpl-cart .wcpl-table tbody tr {
  border-top: 1px solid var(--wcpl-line) !important;
}

.wcpl-col--price {
  width: 18%;
  font-weight: 500;
  color: var(--wcpl-text);
}

.wcpl-col--qty {
  width: 22%;
}

.wcpl-col--subtotal {
  width: 17%;
  font-weight: 700;
  color: var(--wcpl-accent);
}

.wcpl-col--subtotal .amount,
.wcpl-col--price .amount {
  font-weight: inherit;
  color: inherit;
}

.wcpl-cart del {
  opacity: 0.55;
  font-weight: 400;
}

.wcpl-cart ins {
  text-decoration: none;
  background: transparent;
}

/* Product cell ----------------------------------------------------------- */

.wcpl-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.wcpl-item__thumb {
  flex: 0 0 auto;
  width: var(--wcpl-thumb);
  height: var(--wcpl-thumb);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: var(--wcpl-thumb-bg, var(--wcpl-soft));
}

.wcpl-item__thumb a {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}

/* WooCommerce sizes cart images with `.woocommerce-cart table.cart img
   { width: 32px }`, which outranks a two-class selector. The extra class here
   wins on specificity, so the picture fills the frame instead of sitting at
   32px in the corner of it. */
.wcpl-cart .wcpl-item .wcpl-item__thumb img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: var(--wcpl-thumb-fit, contain);
  object-position: center;
  display: block;
  margin: 0;
  padding: var(--wcpl-thumb-padding, 6px);
  border-radius: 0;
  box-shadow: none;
}

.wcpl-item__info {
  min-width: 0;
}

.wcpl-item__name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--wcpl-heading);
  text-transform: uppercase;
}

.wcpl-item__name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.wcpl-item__name a:hover {
  color: var(--wcpl-accent);
}

/* Variation data printed by WooCommerce. */
.wcpl-item__info .variation {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--wcpl-muted);
}

.wcpl-item__info .variation dt,
.wcpl-item__info .variation dd {
  margin: 0;
  padding: 0;
  font-weight: 400;
}

.wcpl-item__info .variation dd p,
.wcpl-item__info .variation dt p {
  margin: 0;
}

.wcpl-item__backorder {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--wcpl-accent);
}

.wcpl-item__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 10px;
}

.wcpl-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 1.2;
  color: var(--wcpl-link-color, var(--wcpl-muted));
  text-decoration: none;
  transition: color 0.2s ease;
}

.wcpl-link:hover {
  color: var(--wcpl-link-hover, var(--wcpl-accent));
}

.wcpl-link .wcpl-icon {
  width: 15px;
  height: 15px;
}

/* WooCommerce ships a.remove as a big red "x" glyph. One extra class outranks
   that rule without !important, so the typography control can still reach the
   link; only the colour needs it, because WooCommerce marks its red !important
   and the value here comes from the colour control's variable. */
.wcpl-cart .wcpl-item__links a.wcpl-link--remove {
  display: inline-flex;
  width: auto;
  height: auto;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  text-align: start;
  border-radius: 0;
  background: none;
  color: var(--wcpl-link-color, var(--wcpl-muted)) !important;
}

.wcpl-cart .wcpl-item__links a.wcpl-link--remove:hover {
  color: var(--wcpl-link-hover, var(--wcpl-accent)) !important;
}

/* Quantity stepper ------------------------------------------------------- */

.wcpl-qty {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 168px;
  min-width: 132px;
  padding: 4px;
  border: 1px solid var(--wcpl-qty-border, var(--wcpl-line));
  border-radius: 999px;
  background: var(--wcpl-card-bg);
}

.wcpl-qty--fixed {
  justify-content: center;
  padding: 10px 4px;
  font-weight: 600;
  color: var(--wcpl-heading);
}

.wcpl-qty__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--wcpl-text);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.wcpl-qty__btn:hover {
  background: var(--wcpl-accent-soft);
  color: var(--wcpl-accent);
}

.wcpl-qty__btn:disabled {
  opacity: 0.35;
  cursor: default;
  background: transparent;
  color: var(--wcpl-text);
}

.wcpl-qty__btn .wcpl-icon {
  width: 16px;
  height: 16px;
}

.wcpl-cart .wcpl-qty__input {
  flex: 1 1 auto;
  width: 46px;
  min-width: 0;
  height: 38px;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--wcpl-heading);
  -moz-appearance: textfield;
  appearance: textfield;
}

.wcpl-cart .wcpl-qty__input::-webkit-outer-spin-button,
.wcpl-cart .wcpl-qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.wcpl-cart .wcpl-qty__input:focus {
  outline: none;
}

/* Promo code ------------------------------------------------------------- */

.wcpl-promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wcpl-promo__label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--wcpl-heading);
  cursor: pointer;
}

.wcpl-promo__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--wcpl-soft);
  color: var(--wcpl-accent);
}

.wcpl-promo__icon .wcpl-icon {
  width: 22px;
  height: 22px;
}

.wcpl-promo__fields {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 1 1 320px;
}

.wcpl-cart .wcpl-input {
  flex: 1 1 190px;
  max-width: 280px;
  min-width: 0;
  height: 46px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid var(--wcpl-line);
  border-radius: var(--wcpl-field-radius);
  background: var(--wcpl-card-bg);
  color: var(--wcpl-text);
  font-size: 14px;
  line-height: 1.2;
}

.wcpl-cart .wcpl-input::placeholder {
  color: var(--wcpl-muted);
}

.wcpl-cart .wcpl-input:focus {
  outline: none;
  border-color: var(--wcpl-accent);
}

/* Buttons ---------------------------------------------------------------- */

.wcpl-cart .wcpl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--wcpl-btn-height);
  padding: 8px 18px;
  border: 1.5px solid transparent;
  border-radius: var(--wcpl-btn-radius);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.wcpl-cart .wcpl-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.wcpl-cart .wcpl-btn:focus-visible {
  outline: 2px solid var(--wcpl-accent);
  outline-offset: 2px;
}

.wcpl-cart .wcpl-btn .wcpl-icon {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
}

.wcpl-cart .wcpl-btn--solid {
  background: var(--wcpl-accent);
  border-color: var(--wcpl-accent);
  color: var(--wcpl-accent-contrast);
}

.wcpl-cart .wcpl-btn--solid:hover {
  background: var(--wcpl-accent-hover);
  border-color: var(--wcpl-accent-hover);
  color: var(--wcpl-accent-contrast);
}

.wcpl-cart .wcpl-btn--outline {
  background: transparent;
  border-color: var(--wcpl-accent);
  color: var(--wcpl-accent);
}

.wcpl-cart .wcpl-btn--outline:hover {
  background: var(--wcpl-accent);
  color: var(--wcpl-accent-contrast);
}

.wcpl-cart .wcpl-btn--ghost {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 8px 26px;
  background: transparent;
  border-color: var(--wcpl-accent);
  color: var(--wcpl-accent);
  text-transform: none;
}

.wcpl-cart .wcpl-btn--ghost:hover {
  background: var(--wcpl-accent);
  color: var(--wcpl-accent-contrast);
}

.wcpl-cart .wcpl-btn--block {
  width: 100%;
}

.wcpl-cart .wcpl-btn[disabled],
.wcpl-cart .wcpl-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.wcpl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.wcpl-actions > * {
  /* Natural width first, then a share of what is left: the three labels are
     different lengths, and equal thirds make the longest one wrap. */
  flex: 1 1 auto;
}

/* Order summary ---------------------------------------------------------- */

.wcpl-summary__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--wcpl-heading);
}

.wcpl-acc {
  border-top: 1px solid var(--wcpl-line);
}

.wcpl-acc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--wcpl-heading);
  cursor: pointer;
  list-style: none;
}

.wcpl-acc__head::-webkit-details-marker {
  display: none;
}

.wcpl-acc__head .wcpl-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--wcpl-muted);
  transition: transform 0.25s ease;
}

.wcpl-acc[open] > .wcpl-acc__head .wcpl-icon {
  transform: rotate(180deg);
}

.wcpl-acc__body {
  padding-bottom: 18px;
}

.wcpl-totals-box {
  margin: 4px 0 16px;
  border: 1px solid var(--wcpl-line);
  border-radius: 12px;
  overflow: hidden;
}

.wcpl-cart .wcpl-totals {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 14px;
}

.wcpl-cart .wcpl-totals th,
.wcpl-cart .wcpl-totals td {
  padding: 14px 16px;
  vertical-align: top;
  line-height: 1.5;
}

.wcpl-cart .wcpl-totals th {
  text-align: start;
  font-weight: 500;
  color: var(--wcpl-muted);
  white-space: nowrap;
}

.wcpl-cart .wcpl-totals td {
  text-align: end;
  font-weight: 600;
  color: var(--wcpl-heading);
}

.wcpl-cart .wcpl-totals tr + tr th,
.wcpl-cart .wcpl-totals tr + tr td {
  border-top: 1px solid var(--wcpl-line) !important;
}

.wcpl-cart .wcpl-totals .order-total {
  background: var(--wcpl-total-bg, var(--wcpl-soft)) !important;
}

.wcpl-cart .wcpl-totals .order-total th {
  font-size: 15px;
  font-weight: 700;
  color: var(--wcpl-heading);
}

.wcpl-cart .wcpl-totals .order-total td,
.wcpl-cart .wcpl-totals .order-total td .amount {
  font-size: 16px;
  font-weight: 700;
  color: var(--wcpl-accent);
}

.wcpl-cart .wcpl-totals .cart-discount td {
  color: var(--wcpl-accent);
}

.wcpl-cart .wcpl-totals small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--wcpl-muted);
}

/* Shipping methods printed by WooCommerce inside the totals. */
.wcpl-cart .wcpl-totals ul,
.wcpl-cart .wcpl-totals #shipping_method {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wcpl-cart .wcpl-totals #shipping_method li {
  margin: 0 0 6px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.wcpl-cart .wcpl-totals #shipping_method li:last-child {
  margin-bottom: 0;
}

.wcpl-cart .wcpl-totals #shipping_method label {
  font-weight: 500;
  color: var(--wcpl-text);
}

.wcpl-cart .wcpl-totals .woocommerce-shipping-destination {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 400;
  color: var(--wcpl-muted);
}

.wcpl-cart .wcpl-totals .shipping-calculator-button {
  font-size: 12px;
  font-weight: 500;
  color: var(--wcpl-accent);
}

/* Shipping calculator inside the accordion ------------------------------- */

/* The calculator ships its own toggle link and a hidden section; the
   accordion above already does that job, so the link goes and the section
   stays open. */
.wcpl-acc__body--calculator .woocommerce-shipping-calculator > p:first-child,
.wcpl-acc__body--calculator .shipping-calculator-button {
  display: none !important;
}

.wcpl-acc__body--calculator .shipping-calculator-form {
  display: block !important;
}

.wcpl-acc__body--calculator form {
  margin: 0;
}

.wcpl-acc__body--calculator p {
  margin: 0 0 12px;
}

.wcpl-acc__body--calculator p:last-child {
  margin-bottom: 0;
}

.wcpl-cart .wcpl-acc__body--calculator input[type="text"],
.wcpl-cart .wcpl-acc__body--calculator select,
.wcpl-cart .wcpl-acc__body--calculator .select2-container .select2-selection--single {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--wcpl-line);
  border-radius: var(--wcpl-field-radius);
  background-color: var(--wcpl-card-bg);
  color: var(--wcpl-text);
  font-size: 14px;
  line-height: 44px;
}

.wcpl-cart .wcpl-acc__body--calculator .select2-container .select2-selection__arrow {
  height: 44px;
}

.wcpl-cart .wcpl-acc__body--calculator button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 8px 22px;
  border: 1.5px solid var(--wcpl-accent);
  border-radius: var(--wcpl-btn-radius);
  background: var(--wcpl-accent);
  color: var(--wcpl-accent-contrast);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.wcpl-cart .wcpl-acc__body--calculator button:hover {
  background: var(--wcpl-accent-hover);
  border-color: var(--wcpl-accent-hover);
}

/* Coupon form in the summary -------------------------------------------- */

.wcpl-coupon-form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.wcpl-coupon-form .wcpl-input {
  flex: 1 1 auto;
  max-width: none;
}

/* Secure note + checkout ------------------------------------------------- */

.wcpl-summary .checkout-button {
  margin-top: 4px;
}

.wcpl-secure {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.wcpl-secure__icon {
  display: inline-flex;
  flex: 0 0 auto;
  color: var(--wcpl-accent);
}

.wcpl-secure__icon .wcpl-icon {
  width: 26px;
  height: 26px;
}

.wcpl-secure__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.35;
}

.wcpl-secure__text strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--wcpl-text);
}

.wcpl-secure__text small {
  font-size: 12px;
  color: var(--wcpl-muted);
}

/* Empty cart + editor notice -------------------------------------------- */

.wcpl-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 56px 24px;
  text-align: center;
}

.wcpl-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--wcpl-empty-icon, 92px);
  height: var(--wcpl-empty-icon, 92px);
  margin-bottom: 6px;
  border-radius: 50%;
  background: var(--wcpl-empty-icon-bg, var(--wcpl-soft));
  color: var(--wcpl-accent);
}

.wcpl-empty__icon .wcpl-icon {
  width: 42%;
  height: 42%;
}

.wcpl-empty__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--wcpl-heading);
}

.wcpl-empty__text {
  max-width: 440px;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--wcpl-muted);
}

.wcpl-empty .wcpl-btn {
  margin-top: 12px;
  min-width: 220px;
}

.wcpl-notice {
  margin-bottom: 14px;
  padding: 12px 16px;
  border: 1px dashed #d5d8dc;
  border-radius: 8px;
  background: #fafafa;
  color: #6b7280;
  font-size: 13px;
}

.wcpl-cart .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Right to left ---------------------------------------------------------- */

[dir="rtl"] .wcpl-icon--chevron-left,
.rtl .wcpl-icon--chevron-left {
  transform: scaleX(-1);
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1024px) {
  .wcpl-cart {
    grid-template-columns: minmax(0, 1fr);
  }

  .wcpl-cart--sticky .wcpl-cart__summary {
    position: static;
  }

  .wcpl-col--price,
  .wcpl-col--qty,
  .wcpl-col--subtotal {
    width: auto;
  }
}

@media (max-width: 767px) {
  .wcpl-cart {
    --wcpl-card-padding: 16px;
    --wcpl-gap: 16px;
    --wcpl-thumb: 68px;
  }

  .wcpl-cart .wcpl-table thead {
    display: none;
  }

  .wcpl-cart .wcpl-table,
  .wcpl-cart .wcpl-table tbody,
  .wcpl-cart .wcpl-table tr,
  .wcpl-cart .wcpl-table td {
    display: block;
    width: 100%;
  }

  .wcpl-cart .wcpl-table tr {
    padding: 18px 0;
  }

  .wcpl-cart .wcpl-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0;
  }

  .wcpl-cart .wcpl-table td + td {
    margin-top: 12px;
  }

  .wcpl-cart .wcpl-table td::before {
    content: attr(data-title);
    font-size: 13px;
    font-weight: 500;
    color: var(--wcpl-muted);
  }

  .wcpl-cart .wcpl-table td.wcpl-col--product {
    display: block;
  }

  .wcpl-cart .wcpl-table td.wcpl-col--product::before {
    display: none;
  }

  .wcpl-qty {
    max-width: 150px;
  }

  .wcpl-promo {
    align-items: stretch;
    flex-direction: column;
  }

  /* The label and the fields keep their flex-basis from the desktop row, which
     a column container would read as a height. */
  .wcpl-promo__label,
  .wcpl-promo__fields {
    flex: 0 0 auto;
    width: 100%;
    justify-content: flex-start;
  }

  .wcpl-cart .wcpl-input {
    max-width: none;
  }

  .wcpl-actions > * {
    flex: 1 1 100%;
  }

  .wcpl-summary__title {
    font-size: 18px;
  }

  .wcpl-empty {
    padding: 40px 16px;
  }

  .wcpl-empty .wcpl-btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 400px) {
  .wcpl-item {
    gap: 12px;
  }

  .wcpl-item__name {
    font-size: 14px;
  }

  /* Field and button stack, and the field's row flex-basis has to go with
     them: in a column it would be read as a height. */
  .wcpl-promo__fields,
  .wcpl-coupon-form {
    flex-direction: column;
    align-items: stretch;
  }

  .wcpl-cart .wcpl-promo__fields .wcpl-input,
  .wcpl-cart .wcpl-coupon-form .wcpl-input {
    flex: 0 0 auto;
    width: 100%;
  }

  .wcpl-cart .wcpl-btn--ghost {
    width: 100%;
  }
}
