/*
 * ToolsEngg Modern Cart 1.0.1
 * Styles the header mini cart (desktop dropdown and the phone / tablet slide-in panel) and the Shopping Cart page.
 * Loaded by the "ToolsEngg Modern Cart" modification. CSS only: no prices, links, forms or cart logic are changed.
 * To go back: switch the modification off in Extensions > Modifications and click Refresh.
 */

/* ---------- Mini cart on desktop (dropdown under the header cart) ---------- */
.desktop-header-active #cart div.cart-content {
  width: 420px;
  min-width: 420px;
  max-width: calc(100vw - 24px);
  font-size: 13px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.desktop-header-active #cart div.cart-content > ul {
  border: 1px solid #e3e8ee;
  border-top: 4px solid #0aa860;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 54px rgba(14, 30, 52, .24), 0 3px 8px rgba(14, 30, 52, .08);
}

/* Heading above the products */
.desktop-header-active #cart div.cart-content .cart-products::before {
  content: "Your Shopping Cart";
  display: block;
  padding: 16px 20px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #5e6b7a;
}

/* Product list: scrolls inside the box when the cart is long */
.desktop-header-active #cart div.cart-content .cart-products {
  max-height: 330px;
  overflow-x: hidden;
  overflow-y: auto;
  margin-bottom: 0;
  scrollbar-width: thin;
  scrollbar-color: #c3ccd7 transparent;
}

.desktop-header-active #cart div.cart-content .cart-products table,
.desktop-header-active #cart div.cart-content .cart-products tbody {
  display: block;
  width: 100%;
}

.desktop-header-active #cart div.cart-content .cart-products tbody > tr {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto 24px;
  grid-template-areas: "img name name remove" "img qty total total";
  column-gap: 14px;
  row-gap: 4px;
  align-items: center;
  padding: 12px 20px;
  background: transparent;
  border-top: 1px solid #edf0f4;
}

.desktop-header-active #cart div.cart-content .cart-products tbody > tr > td {
  display: block;
  padding: 0;
  border: 0 !important;
  background: transparent;
  min-width: 0;
}

.desktop-header-active #cart div.cart-content .cart-products .td-image { grid-area: img; min-width: 0; width: 68px; }
.desktop-header-active #cart div.cart-content .cart-products .td-name { grid-area: name; align-self: end; }
.desktop-header-active #cart div.cart-content .cart-products .td-remove { grid-area: remove; align-self: start; text-align: right; min-width: 0; }
.desktop-header-active #cart div.cart-content .cart-products .td-qty { grid-area: qty; align-self: start; text-align: left; }
.desktop-header-active #cart div.cart-content .cart-products .td-total { grid-area: total; align-self: start; text-align: right; }

.desktop-header-active #cart div.cart-content .cart-products .td-image img {
  display: block;
  width: 68px;
  height: 68px;
  max-width: none;
  object-fit: contain;
  padding: 5px;
  background: #fff;
  border: 1px solid #e6ebf1;
  border-radius: 10px;
}

.desktop-header-active #cart div.cart-content .cart-products .td-name a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: #17222e;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.desktop-header-active #cart div.cart-content .cart-products .td-name a:hover { color: #08894c; }
.desktop-header-active #cart div.cart-content .cart-products .td-name br { display: none; }
.desktop-header-active #cart div.cart-content .cart-products .td-name span,
.desktop-header-active #cart div.cart-content .cart-products .td-name small { font-size: 12px; color: #6b7886; }

/* "x 5" becomes a small pill */
.desktop-header-active #cart div.cart-content .cart-products .td-qty {
  display: inline-block;
  justify-self: start;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  color: #08673a;
  background: #e4f6ec;
  border-radius: 999px;
}

.desktop-header-active #cart div.cart-content .cart-products .td-total {
  font-size: 14px;
  font-weight: 700;
  color: #17222e;
  white-space: nowrap;
}

.desktop-header-active #cart div.cart-content .cart-products .td-remove button {
  width: 24px;
  height: 24px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  font-size: 15px;
  color: #98a3b0;
  background: transparent;
  transition: background .15s, color .15s;
}

.desktop-header-active #cart div.cart-content .cart-products .td-remove button i { float: none; }
.desktop-header-active #cart div.cart-content .cart-products .td-remove button:hover { color: #d6001c; background: #fdecee; }

/* Totals */
.desktop-header-active #cart div.cart-content .cart-totals {
  background: #f5faf7;
  border-top: 1px solid #dcebe3;
  padding: 10px 20px 0;
}

.desktop-header-active #cart div.cart-content .cart-totals table,
.desktop-header-active #cart div.cart-content .cart-totals tbody { display: block; width: 100%; background: transparent; }

.desktop-header-active #cart div.cart-content .cart-totals tbody > tr {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  background: transparent;
}

.desktop-header-active #cart div.cart-content .cart-totals tbody td {
  display: block;
  width: auto;
  padding: 6px 0;
  border: 0 !important;
  background: transparent;
  white-space: nowrap;
}

.desktop-header-active #cart div.cart-content .cart-totals .td-total-title { text-align: left; font-weight: 500; color: #5e6b7a; }
.desktop-header-active #cart div.cart-content .cart-totals .td-total-text { text-align: right; font-weight: 600; color: #17222e; width: auto; }

.desktop-header-active #cart div.cart-content .cart-totals tbody > tr:last-child {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #d3e4da;
}

.desktop-header-active #cart div.cart-content .cart-totals tbody > tr:last-child td { font-size: 17px; font-weight: 700; color: #0f1b28; padding-bottom: 2px; }

/* Buttons */
.desktop-header-active #cart div.cart-content .cart-buttons {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 10px;
  padding: 14px 0 10px;
  border: 0;
  background: transparent;
}

.desktop-header-active #cart div.cart-content .cart-buttons a.btn i {
  position: static;
  float: none;
  margin: 0;
  width: auto;
  height: auto;
}

.desktop-header-active #cart div.cart-content .cart-buttons a.btn-cart i { display: none; }

.desktop-header-active #cart div.cart-content .cart-buttons a.btn {
  margin: 0;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: background .15s, color .15s, box-shadow .15s, transform .15s;
}

.desktop-header-active #cart div.cart-content .cart-buttons a.btn-cart {
  color: #087a45;
  background: #fff;
  border: 1.5px solid #0aa860;
}

.desktop-header-active #cart div.cart-content .cart-buttons a.btn-cart:hover { color: #fff; background: #0aa860; }

.desktop-header-active #cart div.cart-content .cart-buttons a.btn-checkout {
  color: #fff;
  background: #0a9f58;
  border: 1.5px solid #0a9f58;
  box-shadow: 0 8px 18px rgba(10, 159, 88, .30);
}

.desktop-header-active #cart div.cart-content .cart-buttons a.btn-checkout:hover {
  background: #088a4c;
  border-color: #088a4c;
  transform: translateY(-1px);
}

.desktop-header-active #cart div.cart-content .cart-totals > div::after {
  content: "Secure checkout  \2022  Ships worldwide";
  display: block;
  padding: 0 0 14px;
  text-align: center;
  font-size: 11.5px;
  letter-spacing: .02em;
  color: #6f8579;
}

/* Empty cart */
.desktop-header-active #cart div.cart-content .cart-empty {
  padding: 36px 24px 38px;
  font-size: 14px;
  color: #5e6b7a;
}

.desktop-header-active #cart div.cart-content .cart-empty::before {
  content: "\f07a";
  display: block;
  margin-bottom: 12px;
  font-family: FontAwesome;
  font-size: 36px;
  color: #b4d8c4;
}

/* ---------- Mini cart on phones and tablets (slide-in "Your Cart" panel) ---------- */

.mobile-cart-content-container .mobile-cart-content-wrapper .te-responsive-table-hint { display: none !important; }
.mobile-cart-content-container .mobile-cart-content-wrapper .te-responsive-table-frame { margin: 0 !important; }
.mobile-cart-content-container .mobile-cart-content-wrapper .te-responsive-table-scroll { overflow: visible; }

.mobile-cart-content-container .mobile-cart-content-wrapper .te-responsive-table-scroll > table,
.mobile-cart-content-container .mobile-cart-content-wrapper table {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0 !important;
}

.mobile-cart-content-container .cart-content > ul { background: #fff; }

.mobile-cart-content-container .cart-content .cart-products {
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-cart-content-container .cart-content .cart-products table,
.mobile-cart-content-container .cart-content .cart-products tbody { display: block; width: 100%; }

.mobile-cart-content-container .cart-content .cart-products tbody > tr {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto 24px;
  grid-template-areas: "img name name remove" "img qty total total";
  column-gap: 12px;
  row-gap: 4px;
  align-items: center;
  padding: 12px 16px;
  background: transparent;
  border-top: 1px solid #edf0f4;
}

.mobile-cart-content-container .cart-content .cart-products tbody > tr:first-child { border-top: 0; }

.mobile-cart-content-container .cart-content .cart-products tbody > tr > td {
  display: block;
  min-width: 0;
  padding: 0;
  border: 0 !important;
  background: transparent;
}

.mobile-cart-content-container .cart-content .cart-products .td-image { grid-area: img; min-width: 0; width: 64px; }
.mobile-cart-content-container .cart-content .cart-products .td-name { grid-area: name; align-self: end; text-align: left; }
.mobile-cart-content-container .cart-content .cart-products .td-remove { grid-area: remove; align-self: start; text-align: right; min-width: 0; }
.mobile-cart-content-container .cart-content .cart-products .td-qty { grid-area: qty; align-self: start; justify-self: start; text-align: left; }
.mobile-cart-content-container .cart-content .cart-products .td-total { grid-area: total; align-self: start; text-align: right; white-space: nowrap; font-size: 14px; font-weight: 700; color: #17222e; }

.mobile-cart-content-container .cart-content .cart-products .td-image img {
  display: block;
  width: 64px;
  height: 64px;
  max-width: none;
  object-fit: contain;
  padding: 4px;
  background: #fff;
  border: 1px solid #e6ebf1;
  border-radius: 10px;
}

.mobile-cart-content-container .cart-content .cart-products .td-name a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: #17222e;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.mobile-cart-content-container .cart-content .cart-products .td-name br { display: none; }
.mobile-cart-content-container .cart-content .cart-products .td-name span,
.mobile-cart-content-container .cart-content .cart-products .td-name small { font-size: 12px; color: #6b7886; }

.mobile-cart-content-container .cart-content .cart-products .td-qty {
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  color: #08673a;
  background: #e4f6ec;
  border-radius: 999px;
}

.mobile-cart-content-container .cart-content .cart-products .td-remove button {
  width: 28px;
  height: 28px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  font-size: 16px;
  color: #98a3b0;
  background: transparent;
}

.mobile-cart-content-container .cart-content .cart-products .td-remove button i { float: none; }

/* Totals and buttons stay pinned to the bottom of the panel */
.mobile-cart-content-container .cart-content .cart-totals {
  padding: 8px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid #dcebe3;
  box-shadow: 0 -10px 24px rgba(14, 30, 52, .08);
}

.mobile-cart-content-container .cart-content .cart-totals table,
.mobile-cart-content-container .cart-content .cart-totals tbody { display: block; width: 100%; background: transparent; }

.mobile-cart-content-container .cart-content .cart-totals tbody > tr {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  background: transparent;
}

.mobile-cart-content-container .cart-content .cart-totals tbody td {
  display: block;
  width: auto;
  padding: 4px 0;
  border: 0 !important;
  background: transparent;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  color: #17222e;
}

.mobile-cart-content-container .cart-content .cart-totals .td-total-title { text-align: left; font-weight: 500; color: #5e6b7a; }
.mobile-cart-content-container .cart-content .cart-totals .td-total-text { text-align: right; width: auto; }
.mobile-cart-content-container .cart-content .cart-totals tbody > tr:last-child { margin-top: 4px; padding-top: 4px; border-top: 1px solid #dbe7e0; }
.mobile-cart-content-container .cart-content .cart-totals tbody > tr:last-child td { font-size: 16px; font-weight: 700; color: #0f1b28; }

.mobile-cart-content-container .cart-content .cart-buttons {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 10px;
  padding: 10px 0 0;
  border: 0;
  background: transparent;
}

.mobile-cart-content-container .cart-content .cart-buttons a.btn {
  margin: 0;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.mobile-cart-content-container .cart-content .cart-buttons a.btn i { position: static; float: none; margin: 0; width: auto; height: auto; }
.mobile-cart-content-container .cart-content .cart-buttons a.btn-cart { color: #087a45; background: #fff; border: 1.5px solid #0aa860; }
.mobile-cart-content-container .cart-content .cart-buttons a.btn-cart i { display: none; }
.mobile-cart-content-container .cart-content .cart-buttons a.btn-checkout { color: #fff; background: #0a9f58; border: 1.5px solid #0a9f58; box-shadow: 0 8px 18px rgba(10, 159, 88, .28); }

.mobile-cart-content-container .cart-content .cart-empty { padding: 36px 24px; font-size: 14px; color: #5e6b7a; }

/* ---------- Shopping Cart page ---------- */
.route-checkout-cart #checkout-cart .cart-page {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.route-checkout-cart #checkout-cart .cart-table { flex: 1 1 0; min-width: 0; }

/* ---------- Product table ---------- */
.route-checkout-cart #checkout-cart .cart-table .table-responsive {
  border: 1px solid #e3e8ee;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(14, 30, 52, .06);
  overflow-x: auto;
}

.route-checkout-cart #checkout-cart .cart-table table { margin: 0; border: 0 !important; }

.route-checkout-cart #checkout-cart .cart-table thead td {
  padding: 16px 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #5e6b7a;
  background: #f5faf7 !important;
  border: 0 !important;
  border-bottom: 1px solid #dcebe3 !important;
}

.route-checkout-cart #checkout-cart .cart-table tbody td {
  padding: 18px 14px;
  vertical-align: middle;
  border: 0 !important;
  border-top: 1px solid #edf0f4 !important;
  background: transparent !important;
  color: #17222e;
}

.route-checkout-cart #checkout-cart .cart-table tbody tr:first-child td { border-top: 0 !important; }

.route-checkout-cart #checkout-cart .cart-table .td-image img {
  display: block;
  width: 88px;
  height: 88px;
  max-width: none;
  margin: 0 auto;
  object-fit: contain;
  padding: 6px;
  background: #fff;
  border: 1px solid #e6ebf1;
  border-radius: 12px;
}

.route-checkout-cart #checkout-cart .cart-table .td-name a {
  color: #17222e;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.route-checkout-cart #checkout-cart .cart-table .td-name a:hover { color: #08894c; }
.route-checkout-cart #checkout-cart .cart-table .td-name small { color: #6b7886; font-size: 12.5px; }
.route-checkout-cart #checkout-cart .cart-table tbody .td-model { color: #6b7886; font-size: 13px; }
.route-checkout-cart #checkout-cart .cart-table tbody .td-price { color: #5e6b7a; white-space: nowrap; }
.route-checkout-cart #checkout-cart .cart-table tbody .td-total { font-size: 15px; font-weight: 700; color: #0f1b28; white-space: nowrap; }

/* Quantity box and its two buttons */
.route-checkout-cart #checkout-cart .cart-table .td-qty .input-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
}

.route-checkout-cart #checkout-cart .cart-table .td-qty .input-group-btn {
  display: flex;
  width: auto;
  gap: 6px;
}

.route-checkout-cart #checkout-cart .cart-table .td-qty .stepper input.form-control {
  height: 40px;
  border: 1px solid #cfd8e1 !important;
  border-radius: 10px !important;
  text-align: center;
  font-weight: 600;
  color: #17222e;
  box-shadow: none;
}

.route-checkout-cart #checkout-cart .cart-table .td-qty .btn-update.btn,
.route-checkout-cart #checkout-cart .cart-table .td-qty .btn-remove.btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  font-size: 15px;
  box-shadow: none;
  transition: background .15s, color .15s;
}

.route-checkout-cart #checkout-cart .cart-table .td-qty .btn-update.btn { background: #e4f6ec; color: #087a45; }
.route-checkout-cart #checkout-cart .cart-table .td-qty .btn-update.btn:hover { background: #0aa860 !important; color: #fff; }
.route-checkout-cart #checkout-cart .cart-table .td-qty .btn-remove.btn { background: #f1f4f7; color: #8693a1; }
.route-checkout-cart #checkout-cart .cart-table .td-qty .btn-remove.btn:hover { background: #fdecee !important; color: #d6001c; }

/* ---------- Order summary card ---------- */
.route-checkout-cart #checkout-cart .cart-bottom {
  flex: 0 0 390px;
  width: 390px;
  max-width: 390px;
  margin-left: 0;
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e3e8ee;
  border-top: 4px solid #0aa860;
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(14, 30, 52, .08);
  position: sticky;
  top: 90px;
}

/* Summary first, then buttons, then the coupon / shipping options */
.route-checkout-cart #checkout-cart .cart-bottom .panels-total { display: contents; }
.route-checkout-cart #checkout-cart .cart-bottom .cart-total { order: 1; }
.route-checkout-cart #checkout-cart .cart-bottom .buttons { order: 2; }
.route-checkout-cart #checkout-cart .cart-bottom .cart-panels { order: 3; }

.route-checkout-cart #checkout-cart .cart-total { display: block; background: transparent; border: 0; }

.route-checkout-cart #checkout-cart .cart-total::before {
  content: "Order Summary";
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #5e6b7a;
}

.route-checkout-cart #checkout-cart .cart-total table,
.route-checkout-cart #checkout-cart .cart-total tbody {
  display: block;
  width: 100%;
  margin: 0;
  border: 0 !important;
  background: transparent;
}

.route-checkout-cart #checkout-cart .cart-total tbody > tr {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  background: transparent;
}

.route-checkout-cart #checkout-cart .cart-total tbody td {
  display: block;
  width: auto;
  padding: 7px 0;
  border: 0 !important;
  background: transparent !important;
  white-space: nowrap;
  color: #17222e;
  font-weight: 600;
}

.route-checkout-cart #checkout-cart .cart-total tbody td:first-child { text-align: left; }
.route-checkout-cart #checkout-cart .cart-total tbody td:last-child { text-align: right; }
.route-checkout-cart #checkout-cart .cart-total tbody td strong { font-weight: 500; color: #5e6b7a; }

.route-checkout-cart #checkout-cart .cart-total tbody > tr:last-child {
  margin-top: 6px;
  padding-top: 4px;
  border-top: 1px solid #d3e4da;
}

.route-checkout-cart #checkout-cart .cart-total tbody > tr:last-child td { font-size: 19px; font-weight: 700; color: #0f1b28; }
.route-checkout-cart #checkout-cart .cart-total tbody > tr:last-child td strong { font-weight: 700; color: #0f1b28; }

/* Buttons: Checkout on top, full width */
.route-checkout-cart #checkout-cart .cart-bottom > .buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  border: 0;
}

.route-checkout-cart #checkout-cart .cart-bottom > .buttons > div { width: 100%; padding: 0 !important; margin: 0; flex: none; float: none; }
.route-checkout-cart #checkout-cart .cart-bottom > .buttons .pull-right { order: 1; }
.route-checkout-cart #checkout-cart .cart-bottom > .buttons .pull-left { order: 3; }

.route-checkout-cart #checkout-cart .cart-bottom > .buttons .btn {
  width: 100%;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: background .15s, color .15s, box-shadow .15s, transform .15s;
}

.route-checkout-cart #checkout-cart .cart-bottom > .buttons .pull-right .btn {
  background: #0a9f58;
  color: #fff;
  border: 0;
  box-shadow: 0 10px 22px rgba(10, 159, 88, .30);
}

.route-checkout-cart #checkout-cart .cart-bottom > .buttons .pull-right .btn:hover {
  background: #088a4c !important;
  transform: translateY(-1px);
}

.route-checkout-cart #checkout-cart .cart-bottom > .buttons .pull-left .btn {
  height: 44px;
  background: #fff;
  color: #087a45;
  border: 1.5px solid #0aa860;
}

.route-checkout-cart #checkout-cart .cart-bottom > .buttons .pull-left .btn:hover { background: #0aa860 !important; color: #fff; }

.route-checkout-cart #checkout-cart .cart-bottom > .buttons::after {
  content: "Secure checkout  \2022  Ships worldwide";
  order: 2;
  display: block;
  width: 100%;
  margin: -2px 0 2px;
  text-align: center;
  font-size: 12px;
  letter-spacing: .02em;
  color: #6f8579;
}

/* ---------- Coupon / shipping options ---------- */
.route-checkout-cart #checkout-cart .cart-panels { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid #e6ece9; }

.route-checkout-cart #checkout-cart .cart-panels .title {
  margin-bottom: 4px;
  font-size: 13px;
  letter-spacing: .02em;
  color: #17222e;
}

.route-checkout-cart #checkout-cart .cart-panels .title::after { display: none; }
.route-checkout-cart #checkout-cart .cart-panels > p { margin: 0 0 12px; font-size: 12.5px; color: #6b7886; }
.route-checkout-cart #checkout-cart .cart-panels .panel-group .panel { margin: 0 0 8px; background: transparent; border: 0; box-shadow: none; }

.route-checkout-cart #checkout-cart .cart-panels .panel-heading {
  padding: 0;
  background: #f5faf7 !important;
  border: 1px solid #dcebe3;
  border-radius: 10px;
}

.route-checkout-cart #checkout-cart .cart-panels .panel-heading .panel-title a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #17222e !important;
  background: transparent !important;
}

.route-checkout-cart #checkout-cart .cart-panels .panel-heading .panel-title a i { display: inline-block !important; color: #0aa860; font-size: 16px; transition: transform .2s; }
.route-checkout-cart #checkout-cart .cart-panels .panel-heading .panel-title a::before { display: none !important; }
.route-checkout-cart #checkout-cart .cart-panels .panel-heading .panel-title a[aria-expanded="true"] i { transform: rotate(180deg); }
.route-checkout-cart #checkout-cart .cart-panels .panel-heading:hover { border-color: #b7dcc7; }
.route-checkout-cart #checkout-cart .cart-panels .panel-body { padding: 14px 4px 6px; }

.route-checkout-cart #checkout-cart .cart-panels .input-group .input-group-btn .btn {
  background: #0a9f58;
  border-radius: 10px;
  min-height: 40px;
}

.route-checkout-cart #checkout-cart .cart-panels .input-group .input-group-btn .btn:hover { background: #088a4c !important; }

/* ---------- Narrow screens ---------- */
@media (max-width: 1199px) {
  .route-checkout-cart #checkout-cart .cart-page { flex-direction: column; gap: 20px; }
  .route-checkout-cart #checkout-cart .cart-table { width: 100%; flex: none; }
  .route-checkout-cart #checkout-cart .cart-bottom { flex: none; width: 100%; max-width: none; position: static; }
}

/* Phones and small tablets: each product becomes a card so quantity, price and total are never cut off */
@media (max-width: 899px) {
  .route-checkout-cart #checkout-cart .cart-table .table-responsive,
  .route-checkout-cart #checkout-cart .cart-table .te-responsive-table-scroll { overflow: visible; }
  .route-checkout-cart #checkout-cart .cart-table .te-responsive-table-hint { display: none !important; }
  .route-checkout-cart #checkout-cart .cart-table .te-responsive-table-scroll > table { width: 100%; min-width: 0; max-width: 100%; }
  .route-checkout-cart #checkout-cart .cart-table table,
  .route-checkout-cart #checkout-cart .cart-table tbody { display: block; width: 100%; }
  .route-checkout-cart #checkout-cart .cart-table thead { display: none; }

  .route-checkout-cart #checkout-cart .cart-table tbody > tr {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    grid-template-areas: "img name" "img model" "qty qty" "price price" "total total";
    column-gap: 14px;
    row-gap: 8px;
    padding: 16px;
    border-top: 1px solid #edf0f4;
  }

  .route-checkout-cart #checkout-cart .cart-table tbody > tr:first-child { border-top: 0; }
  .route-checkout-cart #checkout-cart .cart-table tbody td { display: block; padding: 0; border: 0 !important; text-align: left; }
  .route-checkout-cart #checkout-cart .cart-table tbody .td-image { grid-area: img; }
  .route-checkout-cart #checkout-cart .cart-table tbody .td-image img { width: 84px; height: 84px; margin: 0; }
  .route-checkout-cart #checkout-cart .cart-table tbody .td-name { grid-area: name; align-self: end; }
  .route-checkout-cart #checkout-cart .cart-table tbody .td-model { grid-area: model; align-self: start; }
  .route-checkout-cart #checkout-cart .cart-table tbody .td-model::before { content: "Model: "; }
  .route-checkout-cart #checkout-cart .cart-table tbody .td-qty { grid-area: qty; padding-top: 6px; }
  .route-checkout-cart #checkout-cart .cart-table tbody .td-qty .input-group { justify-content: flex-start !important; }
  .route-checkout-cart #checkout-cart .cart-table tbody .td-price { grid-area: price; display: flex; justify-content: space-between; }
  .route-checkout-cart #checkout-cart .cart-table tbody .td-price::before { content: "Unit price"; }
  .route-checkout-cart #checkout-cart .cart-table tbody .td-total { grid-area: total; display: flex; justify-content: space-between; }
  .route-checkout-cart #checkout-cart .cart-table tbody .td-total::before { content: "Total"; font-weight: 500; color: #5e6b7a; }
}
