/**
 * Party Mart Cart Redesign
 * Target: Mobile (<= 767px) & Desktop (>= 768px)
 * References: On, Apple Store, Warby Parker, Lululemon, H&M
 */

/* ==========================================================================
   1. Base & Reset for Cart Elements
   ========================================================================== */
/* clip, not hidden: hidden makes these scroll containers and the sticky summary stops sticking */
body.woocommerce-cart {
  overflow-x: clip !important;
}

body.woocommerce-cart .hfeed {
  overflow: clip !important;
}

body.woocommerce-cart .woocommerce:has(> form.woocommerce-cart-form) {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px 40px;
  box-sizing: border-box;
}

body.woocommerce-cart .woocommerce-notices-wrapper {
  width: 100%;
  margin-bottom: 20px;
}

body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-error,
body.woocommerce-cart .woocommerce-info {
  border-radius: 12px !important;
  font-size: 14px !important;
  margin-bottom: 16px !important;
  border-left-width: 6px !important;
}

/* Remove default WooCommerce responsive td::before label prefixes */
body.woocommerce-cart table.shop_table_responsive tr td::before {
  display: none !important;
  content: none !important;
}

/* woocommerce-smallscreen hides totals <th> and relies on the td::before labels removed above */
body.woocommerce-cart .cart_totals table.shop_table tr th {
  display: block !important;
}

/* ==========================================================================
   2. Cart Form & Item Table
   ========================================================================== */
body.woocommerce-cart form.woocommerce-cart-form {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

body.woocommerce-cart table.shop_table.cart {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  border: none !important;
  background: transparent !important;
  margin: 0 !important;
  border-collapse: separate !important;
  box-sizing: border-box !important;
}

body.woocommerce-cart table.shop_table.cart thead {
  display: none !important;
}

body.woocommerce-cart table.shop_table.cart tbody {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  border: none !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   3. Item Card (tr.cart_item)
   ========================================================================== */
body.woocommerce-cart table.shop_table.cart tr.cart_item {
  display: grid !important;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 12px;
  padding: 16px !important;
  border: 1px solid #E6E6E6 !important;
  border-radius: 16px !important;
  background-color: #FFFFFF !important;
  position: relative !important;
  align-items: start;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* 3.1 Product Remove (Trash / × Button) */
body.woocommerce-cart table.shop_table.cart td.product-remove {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 2;
}

body.woocommerce-cart table.shop_table.cart td.product-remove a.remove {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  border-radius: 50% !important;
  font-size: 22px !important;
  line-height: 1 !important;
  color: #8E8E93 !important;
  background-color: transparent !important;
  text-decoration: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: all 0.2s ease;
}

/* Theme draws its own icon in ::before, which doubled the × */
body.woocommerce-cart table.shop_table.cart td.product-remove a.remove::before {
  display: none !important;
}

body.woocommerce-cart table.shop_table.cart td.product-remove a.remove:hover {
  background-color: #FEE2E2 !important;
  color: #DC2626 !important;
}

/* 3.2 Product Thumbnail */
body.woocommerce-cart table.shop_table.cart td.product-thumbnail {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  width: 88px !important;
  max-width: 88px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  float: none !important;
}

body.woocommerce-cart table.shop_table.cart td.product-thumbnail a {
  display: block;
  width: 100%;
}

body.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
  width: 88px !important;
  height: 88px !important;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 12px;
  background-color: #F8FAFC;
  display: block;
  margin: 0 !important;
}

/* 3.3 Product Name & Meta */
body.woocommerce-cart table.shop_table.cart td.product-name {
  grid-column: 2 / span 2 !important;
  grid-row: 1 !important;
  padding: 0 40px 0 0 !important;
  margin: 0 !important;
  border: none !important;
  text-align: left !important;
  float: none !important;
  width: auto !important;
  display: block !important; /* theme makes it flex-row, which put the shipping line beside the name */
}

body.woocommerce-cart table.shop_table.cart td.product-name a {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: #200852;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}

body.woocommerce-cart table.shop_table.cart td.product-name a:hover {
  color: #5928C0;
}

/* Meta lines: variation dl, YITH addons, shipping-class */
body.woocommerce-cart table.shop_table.cart td.product-name dl.variation {
  margin: 4px 0 0 0 !important;
  font-size: 13px !important;
  color: #6B7280 !important;
  line-height: 1.4 !important;
}

body.woocommerce-cart table.shop_table.cart td.product-name dl.variation dt {
  float: left;
  clear: left;
  margin: 0 4px 0 0;
  font-weight: 500;
  color: #6B7280;
}

body.woocommerce-cart table.shop_table.cart td.product-name dl.variation dd {
  margin: 0 0 2px 0;
  color: #6B7280;
}

body.woocommerce-cart table.shop_table.cart td.product-name p.item-shipping_class {
  margin: 4px 0 0 0 !important;
  font-size: 13px !important;
  color: #6B7280 !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
}

body.woocommerce-cart table.shop_table.cart td.product-name p.item-shipping_class strong {
  font-weight: 500;
  color: #4B5563;
}

body.woocommerce-cart table.shop_table.cart td.product-name .yith_wapo_groups_container,
body.woocommerce-cart table.shop_table.cart td.product-name .yith-wapo-addon {
  margin: 4px 0 0 0 !important;
  font-size: 13px !important;
  color: #6B7280 !important;
  line-height: 1.4 !important;
}

/* 3.4 Product Price (Unit Price) — Hidden in favor of line total */
body.woocommerce-cart table.shop_table.cart td.product-price {
  display: none !important;
}

/* 3.5 Product Quantity (Stepper) */
body.woocommerce-cart table.shop_table.cart td.product-quantity {
  grid-column: 2 !important;
  grid-row: 2 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  align-self: end;
  justify-self: start;
  float: none !important;
}

body.woocommerce-cart table.shop_table.cart td.product-quantity .quantity {
  display: inline-block;
  margin: 0;
}

body.woocommerce-cart table.shop_table.cart td.product-quantity .number-button {
  display: inline-flex !important;
  align-items: center;
  border: 1px solid #E2E8F0 !important;
  border-radius: 9999px !important;
  background-color: #F8FAFC !important;
  overflow: hidden;
  height: 36px;
  box-sizing: border-box;
}

body.woocommerce-cart table.shop_table.cart td.product-quantity .number-button input.minus,
body.woocommerce-cart table.shop_table.cart td.product-quantity .number-button input.plus {
  width: 32px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #200852 !important;
  cursor: pointer;
  position: static !important; /* theme absolutely positions them over the qty input */
  line-height: 36px !important;
  text-align: center;
  box-shadow: none !important;
  transition: background-color 0.15s ease, color 0.15s ease;
}

body.woocommerce-cart table.shop_table.cart td.product-quantity .number-button input.minus:hover,
body.woocommerce-cart table.shop_table.cart td.product-quantity .number-button input.plus:hover {
  background-color: #EDE9FE !important;
  color: #5928C0 !important;
}

body.woocommerce-cart table.shop_table.cart td.product-quantity .number-button input.qty {
  width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  border: none !important;
  background: transparent !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #200852 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  -moz-appearance: textfield;
}

body.woocommerce-cart table.shop_table.cart td.product-quantity .number-button input.qty::-webkit-outer-spin-button,
body.woocommerce-cart table.shop_table.cart td.product-quantity .number-button input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* 3.6 Product Subtotal (Line Total) */
body.woocommerce-cart table.shop_table.cart td.product-subtotal {
  grid-column: 3 !important;
  grid-row: 2 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  align-self: center;
  justify-self: end;
  text-align: right !important;
  float: none !important;
}

body.woocommerce-cart table.shop_table.cart td.product-subtotal .amount {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #200852 !important;
}

/* ==========================================================================
   4. Actions Row (Coupon & Empty Cart)
   ========================================================================== */
body.woocommerce-cart table.shop_table.cart tr:has(.actions),
body.woocommerce-cart table.shop_table.cart tr:last-child {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 10px 0 0 0 !important;
  box-sizing: border-box !important;
}

body.woocommerce-cart table.shop_table.cart td.actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-sizing: border-box !important;
}

body.woocommerce-cart table.shop_table.cart .actions .coupon {
  display: flex !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  align-items: stretch !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body.woocommerce-cart table.shop_table.cart .actions .coupon input#coupon_code {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  height: 44px !important;
  min-height: 44px !important;
  border: 1px solid #D1D5DB !important;
  border-radius: 9999px !important;
  padding: 0 16px !important;
  font-size: 14px !important;
  background-color: #FFFFFF !important;
  color: #200852 !important;
  outline: none;
  box-sizing: border-box !important;
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.woocommerce-cart table.shop_table.cart .actions .coupon input#coupon_code:focus {
  border-color: #5928C0 !important;
  box-shadow: 0 0 0 3px rgba(89, 40, 192, 0.12) !important;
}

body.woocommerce-cart table.shop_table.cart .actions .coupon button[name="apply_coupon"] {
  flex-shrink: 0 !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 20px !important;
  border-radius: 9999px !important;
  background-color: #5928C0 !important;
  color: #FFFFFF !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border: none !important;
  cursor: pointer;
  white-space: nowrap !important;
  float: none !important;
  margin: 0 !important;
  transition: background-color 0.15s ease;
}

body.woocommerce-cart table.shop_table.cart .actions .coupon button[name="apply_coupon"]:hover {
  background-color: #4B21A6 !important;
}

/* Hide update cart button (handled via debounced auto-update JS) */
body.woocommerce-cart table.shop_table.cart .actions button[name="update_cart"] {
  display: none !important;
}

/* Empty cart button: styled as small grey underlined text link */
body.woocommerce-cart table.shop_table.cart .actions button.empty-cart-button,
body.woocommerce-cart table.shop_table.cart .actions button[name="ts_empty_cart"] {
  align-self: flex-end !important;
  background: transparent !important;
  border: none !important;
  padding: 4px 0 !important;
  margin: 2px 0 0 0 !important;
  font-size: 13px !important;
  color: #71717A !important;
  text-decoration: underline !important;
  cursor: pointer;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
  float: none !important;
  width: auto !important;
  height: auto !important;
}

body.woocommerce-cart table.shop_table.cart .actions button.empty-cart-button:hover,
body.woocommerce-cart table.shop_table.cart .actions button[name="ts_empty_cart"]:hover {
  color: #DC2626 !important;
  background: transparent !important;
  text-decoration: underline !important;
}

/* ==========================================================================
   5. Cart Collaterals & Totals Card
   ========================================================================== */
body.woocommerce-cart .cart-collaterals {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

body.woocommerce-cart .cart-collaterals .cart_totals {
  border: 1px solid #E6E6E6 !important;
  border-radius: 16px !important;
  background-color: #FFFFFF !important;
  padding: 20px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  box-sizing: border-box;
  width: 100% !important;
  float: none !important;
}

body.woocommerce-cart .cart_totals > h2 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #200852 !important;
  margin: 0 0 16px 0 !important;
  padding: 0 0 12px 0 !important;
  border-bottom: 1px solid #F1F5F9 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

body.woocommerce-cart .cart_totals table.shop_table {
  width: 100% !important;
  border: none !important;
  margin: 0 0 16px 0 !important;
  background: transparent !important;
  border-collapse: collapse !important;
}

body.woocommerce-cart .cart_totals table.shop_table tbody {
  display: block !important;
  width: 100% !important;
}

body.woocommerce-cart .cart_totals table.shop_table tr {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 12px 0 !important;
  border-top: 1px solid #F1F5F9 !important;
  border-bottom: none !important;
  background: transparent !important;
}

/* Subtotal Row */
body.woocommerce-cart .cart_totals table.shop_table tr.cart-subtotal {
  border-top: none !important;
}

body.woocommerce-cart .cart_totals table.shop_table tr.cart-subtotal th {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #4B5563 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

body.woocommerce-cart .cart_totals table.shop_table tr.cart-subtotal td {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #200852 !important;
  padding: 0 !important;
  border: none !important;
  text-align: right !important;
  background: transparent !important;
}

/* Shipping Totals Row (Stacked Header) */
body.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals {
  flex-direction: column !important;
  align-items: flex-start !important;
  padding: 14px 0 !important;
}

body.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals th {
  width: 100% !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #200852 !important;
  padding: 0 0 10px 0 !important;
  border: none !important;
  text-align: left !important;
  background: transparent !important;
}

body.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals td {
  width: 100% !important;
  padding: 0 !important;
  border: none !important;
  text-align: left !important;
  background: transparent !important;
}

/* Shipping Methods List */
body.woocommerce-cart ul#shipping_method {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

body.woocommerce-cart ul#shipping_method li {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 44px !important;
  padding: 10px 14px !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 10px !important;
  background-color: #FAFAFA !important;
  cursor: pointer;
  box-sizing: border-box !important;
  margin: 0 !important;
  transition: all 0.15s ease;
}

body.woocommerce-cart ul#shipping_method li:hover {
  background-color: #F8FAFC;
  border-color: #CBD5E1;
}

body.woocommerce-cart ul#shipping_method li:has(input[type="radio"]:checked) {
  border-color: #5928C0 !important;
  background-color: #F5F3FF !important;
}

body.woocommerce-cart ul#shipping_method li input[type="radio"] {
  margin: 0 12px 0 0 !important;
  accent-color: #5928C0 !important;
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
  cursor: pointer;
}

body.woocommerce-cart ul#shipping_method li label {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #200852 !important;
  cursor: pointer;
  line-height: 1.35 !important;
}

body.woocommerce-cart ul#shipping_method li label .amount {
  font-weight: 600 !important;
  color: #200852 !important;
  margin-left: auto !important;
}

/* Local pickup badge when no amount is output */
body.woocommerce-cart ul#shipping_method li label:not(:has(.amount))::after {
  content: "Free";
  font-weight: 600;
  color: #15803D;
  margin-left: auto;
}

/* Shipping Destination & Calculator */
body.woocommerce-cart .woocommerce-shipping-destination {
  font-size: 13px !important;
  color: #6B7280 !important;
  margin: 12px 0 6px 0 !important;
  line-height: 1.4 !important;
}

body.woocommerce-cart .shipping-calculator-button {
  font-size: 13px !important;
  color: #5928C0 !important;
  font-weight: 500 !important;
  text-decoration: underline !important;
}

body.woocommerce-cart .shipping-calculator-form {
  margin-top: 12px !important;
  padding: 14px !important;
  background-color: #F8FAFC !important;
  border-radius: 10px !important;
  border: 1px solid #E2E8F0 !important;
}

body.woocommerce-cart .shipping-calculator-form p {
  margin-bottom: 10px !important;
}

body.woocommerce-cart .shipping-calculator-form .input-text,
body.woocommerce-cart .shipping-calculator-form select {
  border-radius: 8px !important;
  border: 1px solid #D1D5DB !important;
  font-size: 13px !important;
  padding: 8px 12px !important;
  background-color: #FFFFFF !important;
  width: 100% !important;
  box-sizing: border-box;
}

body.woocommerce-cart .shipping-calculator-form button[name="calc_shipping"] {
  background-color: #5928C0 !important;
  color: #FFFFFF !important;
  border-radius: 9999px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
  border: none !important;
  cursor: pointer;
}

/* Order Total Row */
body.woocommerce-cart .cart_totals table.shop_table tr.order-total {
  border-top: 1.5px solid #E2E8F0 !important;
  padding-top: 16px !important;
  margin-top: 6px !important;
}

body.woocommerce-cart .cart_totals table.shop_table tr.order-total th {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #200852 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

body.woocommerce-cart .cart_totals table.shop_table tr.order-total td {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #200852 !important;
  padding: 0 !important;
  border: none !important;
  text-align: right !important;
  background: transparent !important;
}

/* Pickup-Only Shipping Note */
body.woocommerce-cart .cart_totals table.shop_table tr.shipping-note {
  display: block !important;
  width: 100% !important;
  background-color: #FEF3C7 !important;
  border: 1px solid #FCD34D !important;
  color: #92400E !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
  font-size: 13px !important;
  margin: 12px 0 4px 0 !important;
  box-sizing: border-box;
}

body.woocommerce-cart .cart_totals table.shop_table tr.shipping-note td {
  display: block !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  color: inherit !important;
}

/* Proceed to Checkout CTA */
body.woocommerce-cart .wc-proceed-to-checkout {
  padding: 0 !important;
  margin: 0 !important;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 52px !important;
  min-height: 52px !important;
  border-radius: 42px !important;
  background-color: #5928C0 !important;
  color: #FFFFFF !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(89, 40, 192, 0.25) !important;
  transition: all 0.2s ease !important;
  margin: 16px 0 0 0 !important;
  cursor: pointer;
  letter-spacing: normal !important;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
  background-color: #4B21A6 !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(89, 40, 192, 0.3) !important;
}

/* ==========================================================================
   6. Responsive Layouts
   ========================================================================== */

/* 6.1 Phone (<= 767px) */
@media (max-width: 767px) {
  body.woocommerce-cart .woocommerce:has(> form.woocommerce-cart-form) {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 12px 40px;
  }

  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart-collaterals {
    width: 100%;
  }

  body.woocommerce-cart table.shop_table.cart tr.cart_item {
    grid-template-columns: 88px minmax(0, 1fr) auto;
    column-gap: 14px;
    row-gap: 12px;
    padding: 14px !important;
  }
}

/* 6.2 Desktop (>= 768px) */
@media (min-width: 768px) {
  body.woocommerce-cart .woocommerce:has(> form.woocommerce-cart-form) {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr);
    column-gap: 36px;
    align-items: start;
  }

  /* Span empty cart / return to shop banners across full width */
  body.woocommerce-cart .woocommerce > .cart-empty,
  body.woocommerce-cart .woocommerce > .return-to-shop,
  body.woocommerce-cart .woocommerce > .wc-empty-cart-message {
    grid-column: 1 / -1;
  }

  body.woocommerce-cart .woocommerce-notices-wrapper {
    grid-column: 1 / -1;
    width: 100%;
  }

  body.woocommerce-cart .woocommerce-cart-form {
    grid-column: 1;
    width: 100% !important;
    float: none !important;
  }

  /* theme sets width:32% + float:right, which shrank the summary to 144px */
  body.woocommerce-cart .cart-collaterals {
    grid-column: 2;
    width: 100% !important;
    float: none !important;
    position: -webkit-sticky;
    position: sticky;
    top: 24px;
  }

  body.woocommerce-cart .cart-collaterals .cart_totals {
    padding: 24px !important;
  }

  body.woocommerce-cart table.shop_table.cart tr.cart_item {
    grid-template-columns: 120px minmax(0, 1fr) auto;
    column-gap: 20px;
    row-gap: 16px;
    padding: 20px !important;
  }

  body.woocommerce-cart table.shop_table.cart td.product-thumbnail {
    width: 120px !important;
    max-width: 120px !important;
  }

  body.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
    width: 120px !important;
    height: 120px !important;
  }

  body.woocommerce-cart table.shop_table.cart td.product-name a {
    font-size: 16px;
  }

  body.woocommerce-cart table.shop_table.cart td.product-subtotal .amount {
    font-size: 17px !important;
  }
}
