body.tsi-cart-ux-live {
  --tsi-cart-ink: #102331;
  --tsi-cart-muted: #5b7080;
  --tsi-cart-line: rgba(24, 95, 126, 0.16);
  --tsi-cart-blue: #2478d4;
  --tsi-cart-cyan: #22c7de;
  --tsi-cart-gold: #f3c348;
  --tsi-cart-green: #1f9d67;
  --tsi-cart-soft: #f4fafc;
  --tsi-cart-panel: rgba(255, 255, 255, 0.94);
  background: #f7fbfd;
}

body.tsi-cart-ux-live,
body.tsi-cart-ux-live .woocommerce,
body.tsi-cart-ux-live .woocommerce * {
  letter-spacing: 0;
  box-sizing: border-box;
}

body.tsi-cart-ux-live .x-main.full {
  background:
    linear-gradient(180deg, #ffffff 0%, #f4fafc 44%, #ffffff 100%);
}

body.tsi-cart-ux-live .entry-header {
  display: none;
}

body.tsi-cart-ux-live .entry-wrap,
body.tsi-cart-ux-live .entry-content {
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.tsi-cart-ux-live .woocommerce {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 22px;
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto 48px;
  color: var(--tsi-cart-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

body.tsi-cart-ux-live .woocommerce-notices-wrapper,
body.tsi-cart-ux-live .woocommerce-message,
body.tsi-cart-ux-live .woocommerce-info,
body.tsi-cart-ux-live .woocommerce-error,
body.tsi-cart-ux-live #coupons_list,
body.tsi-cart-ux-live .tsi-cart-ux-hero {
  grid-column: 1 / -1;
}

.tsi-cart-ux-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  margin: 8px 0 4px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--tsi-cart-line);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 249, 253, 0.94)),
    linear-gradient(90deg, rgba(34, 199, 222, 0.08), rgba(243, 195, 72, 0.08));
  box-shadow: 0 24px 70px rgba(13, 63, 90, 0.13);
}

.tsi-cart-ux-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 49%, rgba(34, 104, 132, 0.055) 49% 51%, transparent 51%),
    linear-gradient(0deg, transparent 0 49%, rgba(34, 104, 132, 0.045) 49% 51%, transparent 51%);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent 80%);
}

.tsi-cart-ux-hero > * {
  position: relative;
  min-width: 0;
}

.tsi-cart-ux-eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(34, 199, 222, 0.32);
  border-radius: 999px;
  background: rgba(34, 199, 222, 0.12);
  color: #056b82;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.tsi-cart-ux-hero h1 {
  margin: 0;
  color: var(--tsi-cart-ink);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  font-weight: 950;
}

.tsi-cart-ux-hero p {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--tsi-cart-muted);
  font-size: 16px;
  line-height: 1.55;
}

.tsi-cart-ux-steps {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.tsi-cart-ux-steps span,
.tsi-cart-ux-shop-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.tsi-cart-ux-steps span {
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--tsi-cart-line);
  background: rgba(255, 255, 255, 0.74);
  color: #174052;
}

.tsi-cart-ux-steps strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--tsi-cart-blue), var(--tsi-cart-cyan));
  color: #ffffff;
  font-size: 12px;
}

.tsi-cart-ux-shop-link,
.tsi-cart-ux-shop-link:hover,
.tsi-cart-ux-shop-link:focus {
  padding: 10px 15px;
  border: 1px solid rgba(36, 120, 212, 0.24);
  background: #ffffff;
  color: #1761ad;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(36, 120, 212, 0.12);
}

body.tsi-cart-ux-live .woocommerce-cart-form,
body.tsi-cart-ux-live .cart_totals,
body.tsi-cart-ux-live .wc-empty-cart-message,
body.tsi-cart-ux-live .return-to-shop {
  border: 1px solid var(--tsi-cart-line);
  border-radius: 22px;
  background: var(--tsi-cart-panel);
  box-shadow: 0 20px 52px rgba(13, 63, 90, 0.1);
}

body.tsi-cart-ux-live .woocommerce-cart-form {
  grid-column: 1;
  padding: 12px;
}

body.tsi-cart-ux-live .cart-collaterals {
  grid-column: 2;
  width: auto;
  margin: 0;
}

body.tsi-cart-ux-live .cart-collaterals::before,
body.tsi-cart-ux-live .cart-collaterals::after {
  display: none;
}

body.tsi-cart-ux-live .cart_totals {
  float: none;
  width: auto;
  position: sticky;
  top: 118px;
  padding: 22px;
}

body.tsi-cart-ux-live .cart-collaterals .cross-sells {
  display: none !important;
}

body.tsi-cart-ux-live table.shop_table {
  display: table !important;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0 10px;
  background: transparent;
}

body.tsi-cart-ux-live table.shop_table thead th {
  padding: 8px 12px;
  border: 0;
  color: var(--tsi-cart-muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

body.tsi-cart-ux-live .woocommerce-cart-form__cart-item {
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(13, 63, 90, 0.07);
}

body.tsi-cart-ux-live .woocommerce-cart-form__cart-item td {
  padding: 18px 12px;
  border-top: 1px solid rgba(24, 95, 126, 0.11);
  border-bottom: 1px solid rgba(24, 95, 126, 0.11);
  vertical-align: middle;
}

body.tsi-cart-ux-live .woocommerce-cart-form__cart-item td:first-child {
  border-left: 1px solid rgba(24, 95, 126, 0.11);
  border-radius: 18px 0 0 18px;
}

body.tsi-cart-ux-live .woocommerce-cart-form__cart-item td:last-child {
  border-right: 1px solid rgba(24, 95, 126, 0.11);
  border-radius: 0 18px 18px 0;
}

body.tsi-cart-ux-live .product-thumbnail img {
  width: 94px;
  max-width: 94px;
  height: 94px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(13, 63, 90, 0.14);
}

body.tsi-cart-ux-live .cart.shop_table .cart_item .product-thumbnail,
body.tsi-cart-ux-live table.shop_table .product-thumbnail {
  display: table-cell !important;
}

body.tsi-cart-ux-live .product-name a {
  color: var(--tsi-cart-ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
}

body.tsi-cart-ux-live .product-name a:hover,
body.tsi-cart-ux-live .product-name a:focus {
  color: #1761ad;
}

body.tsi-cart-ux-live .product-price,
body.tsi-cart-ux-live .product-subtotal,
body.tsi-cart-ux-live .cart_totals td {
  color: var(--tsi-cart-ink);
  font-weight: 850;
}

body.tsi-cart-ux-live .tsi-cart-ux-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 86px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(217, 65, 65, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #a83a3a !important;
  font-size: 13px !important;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

body.tsi-cart-ux-live .tsi-cart-ux-remove:hover,
body.tsi-cart-ux-live .tsi-cart-ux-remove:focus {
  transform: translateY(-1px);
  border-color: rgba(217, 65, 65, 0.34);
  background: #fff4f4;
}

body.tsi-cart-ux-live .tsi-cart-ux-remove-icon {
  font-size: 19px;
  line-height: 1;
}

body.tsi-cart-ux-live .quantity {
  width: auto;
}

.tsi-cart-qty-stepper {
  display: inline-grid;
  grid-template-columns: 38px 58px 38px;
  align-items: center;
  min-height: 42px;
  overflow: hidden;
  border: 1px solid rgba(36, 120, 212, 0.2);
  border-radius: 14px;
  background: #f8fcfe;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.74);
}

.tsi-cart-qty-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  color: #1761ad;
  font-size: 18px;
  font-weight: 900;
  text-shadow: none;
  box-shadow: none;
  cursor: pointer;
}

.tsi-cart-qty-button:hover,
.tsi-cart-qty-button:focus {
  background: rgba(34, 199, 222, 0.12);
  color: #064f91;
}

body.tsi-cart-ux-live .tsi-cart-qty-stepper input.qty {
  width: 58px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border: 0;
  border-right: 1px solid rgba(36, 120, 212, 0.14);
  border-left: 1px solid rgba(36, 120, 212, 0.14);
  border-radius: 0;
  background: transparent;
  color: var(--tsi-cart-ink);
  font-size: 16px;
  font-weight: 900;
  text-align: center;
  box-shadow: none;
}

body.tsi-cart-ux-live .actions {
  padding: 18px 6px 6px !important;
  border: 0 !important;
  background: transparent;
}

body.tsi-cart-ux-live .actions .coupon {
  display: none !important;
}

body.tsi-cart-ux-live .actions .coupon input.input-text {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--tsi-cart-line);
  border-radius: 14px;
  background: #ffffff;
  color: var(--tsi-cart-ink);
  font-size: 14px;
  box-shadow: none;
}

body.tsi-cart-ux-live .button,
body.tsi-cart-ux-live button.button,
body.tsi-cart-ux-live .checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-shadow: none;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

body.tsi-cart-ux-live .button:hover,
body.tsi-cart-ux-live .button:focus,
body.tsi-cart-ux-live .checkout-button:hover,
body.tsi-cart-ux-live .checkout-button:focus {
  transform: translateY(-1px);
}

body.tsi-cart-ux-live button[name="update_cart"] {
  display: inline-flex !important;
  float: right;
  min-width: 160px;
  border: 1px solid rgba(23, 97, 173, 0.22);
  background: #ffffff;
  color: #1761ad;
  box-shadow: 0 12px 24px rgba(36, 120, 212, 0.08);
}

body.tsi-cart-ux-live button[name="update_cart"]:disabled {
  opacity: 1;
  background: #eef7fd;
  color: #1761ad !important;
  cursor: default;
}

body.tsi-cart-ux-live.tsi-cart-needs-update button[name="update_cart"] {
  border-color: rgba(34, 199, 222, 0.34);
  background: linear-gradient(135deg, var(--tsi-cart-blue), var(--tsi-cart-cyan));
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(36, 120, 212, 0.24);
}

body.tsi-cart-ux-live.tsi-cart-needs-update .actions::after {
  content: "Quantity changed. Save the cart before checkout.";
  display: block;
  clear: both;
  padding-top: 12px;
  color: #056b82;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

body.tsi-cart-ux-live .cart_totals h2 {
  display: block !important;
  margin: 0 0 16px;
  color: var(--tsi-cart-ink);
  font-size: 25px;
  font-weight: 950;
  line-height: 1.05;
}

body.tsi-cart-ux-live .cart_totals table.shop_table {
  display: table !important;
  border-spacing: 0;
}

body.tsi-cart-ux-live .cart_totals th,
body.tsi-cart-ux-live .cart_totals td {
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid rgba(24, 95, 126, 0.12);
  font-size: 15px;
}

body.tsi-cart-ux-live .cart_totals th {
  color: var(--tsi-cart-muted);
  font-weight: 850;
}

body.tsi-cart-ux-live .cart_totals .order-total th,
body.tsi-cart-ux-live .cart_totals .order-total td {
  color: var(--tsi-cart-ink);
  font-size: 19px;
  border-bottom: 0;
}

body.tsi-cart-ux-live .wc-proceed-to-checkout {
  margin: 0 !important;
  padding: 18px 0 0;
}

body.tsi-cart-ux-live .checkout-button,
body.tsi-cart-ux-live .wc-proceed-to-checkout a.checkout-button {
  width: 100%;
  min-height: 54px;
  margin: 0;
  border: 1px solid rgba(0, 127, 159, 0.24);
  background: linear-gradient(135deg, var(--tsi-cart-blue), var(--tsi-cart-cyan));
  color: #ffffff !important;
  box-shadow: 0 18px 34px rgba(36, 120, 212, 0.24);
}

body.tsi-cart-ux-live .wc-empty-cart-message,
body.tsi-cart-ux-live .return-to-shop {
  grid-column: 1 / -1;
  padding: 24px;
}

body.tsi-cart-ux-live .cart-empty {
  margin: 0;
  color: var(--tsi-cart-ink);
  font-size: 18px;
  font-weight: 850;
}

body.tsi-cart-ux-live .return-to-shop .button {
  border: 1px solid rgba(0, 127, 159, 0.24);
  background: linear-gradient(135deg, var(--tsi-cart-blue), var(--tsi-cart-cyan));
  color: #ffffff;
}

body.tsi-cart-ux-live .woocommerce-message,
body.tsi-cart-ux-live .woocommerce-info,
body.tsi-cart-ux-live .woocommerce-error {
  border: 1px solid var(--tsi-cart-line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(13, 63, 90, 0.08);
}

body.tsi-cart-ux-live.woocommerce-cart .woocommerce-message .button.wc-forward {
  display: none !important;
}

body.tsi-cart-ux-live.woocommerce-cart .woocommerce .cart.shop_table .cart_item .product-thumbnail,
body.tsi-cart-ux-live.woocommerce-cart .woocommerce table.shop_table .cart_item .product-thumbnail {
  display: table-cell !important;
  width: 120px !important;
  min-width: 120px;
  visibility: visible !important;
}

body.tsi-cart-ux-live.woocommerce-cart .woocommerce .cart.shop_table .cart_item .product-thumbnail a,
body.tsi-cart-ux-live.woocommerce-cart .woocommerce .cart.shop_table .cart_item .product-thumbnail img {
  display: block !important;
  visibility: visible !important;
}

body.tsi-cart-ux-live.woocommerce-cart .woocommerce .cart-collaterals .cart_totals h2 {
  display: block !important;
  visibility: visible !important;
}

body.tsi-cart-ux-live.woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table {
  display: table !important;
  visibility: visible !important;
  width: 100% !important;
}

body.tsi-cart-ux-live.woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table tbody {
  display: table-row-group !important;
}

body.tsi-cart-ux-live.woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table tr {
  display: table-row !important;
}

body.tsi-cart-ux-live.woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table th,
body.tsi-cart-ux-live.woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table td {
  display: table-cell !important;
}

body.tsi-cart-ux-live.woocommerce-cart .woocommerce .cart-collaterals .cart_totals td::before {
  display: none !important;
  content: "" !important;
}

@media (max-width: 1040px) {
  body.tsi-cart-ux-live .woocommerce {
    grid-template-columns: 1fr;
  }

  body.tsi-cart-ux-live .woocommerce-cart-form,
  body.tsi-cart-ux-live .cart-collaterals {
    grid-column: 1;
  }

  body.tsi-cart-ux-live .cart_totals {
    position: static;
  }

  .tsi-cart-ux-hero {
    grid-template-columns: 1fr;
  }

  .tsi-cart-ux-steps {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  body.tsi-cart-ux-live .woocommerce {
    width: min(100%, calc(100vw - 18px));
    gap: 14px;
    margin-bottom: 24px;
  }

  .tsi-cart-ux-hero {
    padding: 22px;
    border-radius: 20px;
  }

  .tsi-cart-ux-hero h1 {
    font-size: 36px;
  }

  .tsi-cart-ux-steps span,
  .tsi-cart-ux-shop-link {
    min-height: 38px;
    font-size: 12px;
  }

  body.tsi-cart-ux-live .woocommerce-cart-form {
    padding: 10px;
    border-radius: 18px;
  }

  body.tsi-cart-ux-live table.shop_table thead {
    display: none;
  }

  body.tsi-cart-ux-live table.shop_table,
  body.tsi-cart-ux-live table.shop_table tbody,
  body.tsi-cart-ux-live table.shop_table tr,
  body.tsi-cart-ux-live table.shop_table td {
    display: block !important;
    width: 100%;
  }

  body.tsi-cart-ux-live .woocommerce-cart-form__cart-item {
    position: relative;
    display: grid !important;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px 14px;
    padding: 14px;
    border: 1px solid rgba(24, 95, 126, 0.12);
    border-radius: 18px;
  }

  body.tsi-cart-ux-live .woocommerce-cart-form__cart-item td {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  body.tsi-cart-ux-live .woocommerce-cart-form__cart-item td::before {
    display: none;
  }

  body.tsi-cart-ux-live .product-remove {
    position: absolute;
    right: 12px;
    top: 12px;
    width: auto !important;
  }

  body.tsi-cart-ux-live .product-thumbnail {
    display: block !important;
    grid-column: 1;
    grid-row: 1 / span 4;
  }

  body.tsi-cart-ux-live.woocommerce-cart .woocommerce .cart.shop_table .cart_item .product-thumbnail,
  body.tsi-cart-ux-live.woocommerce-cart .woocommerce table.shop_table .cart_item .product-thumbnail {
    display: block !important;
    width: auto !important;
    min-width: 0;
  }

  body.tsi-cart-ux-live .product-thumbnail img {
    width: 82px;
    max-width: 82px;
    height: 82px;
    border-radius: 16px;
  }

  body.tsi-cart-ux-live .product-name,
  body.tsi-cart-ux-live .product-price,
  body.tsi-cart-ux-live .product-quantity,
  body.tsi-cart-ux-live .product-subtotal {
    grid-column: 2;
    padding-right: 84px;
    text-align: left !important;
  }

  body.tsi-cart-ux-live .product-name a {
    display: block;
    font-size: 15px;
  }

  body.tsi-cart-ux-live .product-price::before,
  body.tsi-cart-ux-live .product-subtotal::before {
    content: attr(data-title);
    display: block;
    margin: 8px 0 3px;
    color: var(--tsi-cart-muted);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
  }

  body.tsi-cart-ux-live .product-quantity {
    margin-top: 8px;
    padding-right: 0;
  }

  body.tsi-cart-ux-live .product-subtotal {
    padding-right: 0;
  }

  body.tsi-cart-ux-live .tsi-cart-ux-remove {
    min-width: 42px;
    width: 42px;
    height: 38px;
    padding: 0;
  }

  body.tsi-cart-ux-live .tsi-cart-ux-remove-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
  }

  body.tsi-cart-ux-live .actions {
    position: sticky;
    bottom: 0;
    z-index: 5;
    display: grid !important;
    gap: 10px;
    padding: 12px 0 0 !important;
    background: linear-gradient(180deg, rgba(247, 251, 253, 0), #ffffff 22%);
  }

  body.tsi-cart-ux-live .actions .coupon {
    display: none !important;
  }

  body.tsi-cart-ux-live button[name="update_cart"] {
    width: 100%;
    float: none;
  }

  body.tsi-cart-ux-live.tsi-cart-needs-update .actions::after {
    padding-top: 0;
    text-align: center;
  }

  body.tsi-cart-ux-live .cart_totals {
    padding: 18px;
    border-radius: 18px;
  }
}
