body.ft-store :is(#checkout-cart, #checkout-checkout) #content {
  --fc-line: var(--ft-catalog-border, #e5e5e9);
  --fc-surface: var(--ft-catalog-card, #fff);
  --fc-soft: var(--ft-breadcrumb-bg, #f6f6f7);
  color: var(--ft-shell-text); padding-bottom: 40px;
}
body.ft-store :is(#checkout-cart, #checkout-checkout) #content > .page-title {
  margin: 0 0 24px; padding: 0; border: 0;
  font-size: clamp(26px, 3vw, 36px); text-transform: none;
}
body.ft-store #checkout-cart #content .cart-page {
  display: flex; flex-direction: column; gap: 24px;
}
body.ft-store #checkout-cart #content .cart-table {
  margin: 0; padding: 0; border: 1px solid var(--fc-line); border-radius: 14px;
  background: var(--fc-surface); box-shadow: 0 8px 26px #17171b06; overflow: hidden;
}
body.ft-store :is(#checkout-cart, #checkout-checkout) #content .table-responsive {
  width: 100%; margin: 0; border: 0; overflow-x: auto; overscroll-behavior-x: contain;
}
body.ft-store :is(#checkout-cart, #checkout-checkout) #content table {
  width: 100%; margin: 0; border: 0; background: var(--fc-surface);
}
body.ft-store :is(#checkout-cart, #checkout-checkout) #content table td,
body.ft-store :is(#checkout-cart, #checkout-checkout) #content table th {
  padding: 16px; vertical-align: middle; border: 0;
  border-bottom: 1px solid var(--fc-line); font-size: 14px; line-height: 1.5;
}
body.ft-store :is(#checkout-cart, #checkout-checkout) #content table thead td {
  background: var(--fc-soft); font-size: 11px; font-weight: 700;
  letter-spacing: .6px; color: var(--ft-shell-text);
}
body.ft-store :is(#checkout-cart, #checkout-checkout) #content table tbody tr:last-child td { border-bottom: 0; }
body.ft-store #checkout-cart #content .td-name a { color: var(--ft-shell-text); font-weight: 600; }
body.ft-store #checkout-cart #content .td-name a:hover { color: var(--ft-red); }
body.ft-store #checkout-cart #content :is(.td-price, .td-total) { white-space: nowrap; }
body.ft-store #checkout-cart #content .td-total { font-weight: 700; }
body.ft-store #checkout-cart #content .td-qty .input-group {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 154px;
}
body.ft-store #checkout-cart #content .td-qty .stepper {
  flex: 0 0 58px; width: 58px; min-width: 58px; height: 44px; margin: 0;
}
body.ft-store #checkout-cart #content .td-qty .stepper button {
  background: var(--fc-soft) !important; color: var(--ft-red) !important;
  border-color: var(--fc-line) !important;
}
body.ft-store #checkout-cart #content .td-qty .stepper button::before { color: inherit !important; }
body.ft-store #checkout-cart #content .td-qty .input-group-btn {
  display: flex; gap: 6px; width: auto; margin: 0;
}
body.ft-store #checkout-cart #content .td-qty :is(.btn-update, .btn-remove) {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 44px; width: 44px; min-width: 44px; height: 44px;
  padding: 0; margin: 0; border: 1px solid var(--fc-line) !important;
  border-radius: 8px !important; background: var(--fc-soft) !important;
  color: var(--ft-shell-text) !important; box-shadow: none;
}
body.ft-store #checkout-cart #content .td-qty .btn-remove {
  background: var(--ft-red) !important; color: #fff !important; border-color: var(--ft-red) !important;
}
body.ft-store #checkout-cart #content .td-qty :is(.btn-update, .btn-remove) :is(i, i::before) { color: inherit !important; }
body.ft-store #checkout-cart #content .cart-bottom { margin: 0; padding: 0; border: 0; }
body.ft-store #checkout-cart #content .panels-total {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: start; gap: 24px; margin: 0; padding: 0; border: 0;
}
body.ft-store #checkout-cart #content .panels-total > .row {
  grid-column: 2; width: auto; margin: 0;
}
body.ft-store #checkout-cart #content .cart-panels { width: auto; margin: 0; min-width: 0; }
body.ft-store #checkout-cart #content .cart-total {
  float: none; width: 100%; margin: 0; padding: 8px 0;
  border: 1px solid var(--fc-line); border-top: 3px solid var(--ft-red);
  border-radius: 14px; background: var(--fc-surface); overflow: hidden;
}
body.ft-store #checkout-cart #content .cart-total td { padding: 14px 18px; }
body.ft-store #checkout-cart #content .cart-total tr:last-child td {
  background: var(--fc-soft); font-size: 18px; font-weight: 700;
}
body.ft-store :is(#checkout-cart, #checkout-checkout) #content .panel-group {
  display: flex; flex-direction: column; gap: 12px; margin: 0;
}
body.ft-store :is(#checkout-cart, #checkout-checkout) #content .panel {
  margin: 0; border: 1px solid var(--fc-line) !important; border-radius: 12px;
  background: var(--fc-surface); box-shadow: none;
}
body.ft-store :is(#checkout-cart, #checkout-checkout) #content .panel-heading {
  padding: 0; border: 0; border-radius: 12px; background: var(--fc-soft) !important;
}
body.ft-store :is(#checkout-cart, #checkout-checkout) #content .panel-title { margin: 0; padding: 0; }
body.ft-store :is(#checkout-cart, #checkout-checkout) #content .panel-title > a {
  display: flex; align-items: center; min-height: 52px; padding: 14px 18px;
  font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--ft-shell-text) !important;
}
body.ft-store #checkout-checkout #content .panel-active { border-left: 3px solid var(--ft-red) !important; }
body.ft-store :is(#checkout-cart, #checkout-checkout) #content .panel-body {
  padding: 20px; margin-bottom: 0; border-color: var(--fc-line);
  background: var(--fc-surface) !important;
}
body.ft-store #checkout-checkout #content .panel-group,
body.ft-store #checkout-checkout #content .panel-heading {
  background: var(--fc-surface) !important;
}
body.ft-store #checkout-checkout #content .panel-group { padding: 0; border: 0; }
body.ft-store #checkout-checkout #content .panel-collapse {
  background: var(--fc-surface) !important; border-radius: 0 0 12px 12px;
}
body.ft-store #checkout-checkout #content .login-box {
  display: flex; flex-wrap: wrap; align-items: stretch; margin: -8px;
  background: transparent !important;
}
body.ft-store #checkout-checkout #content .login-box > .col-sm-6 {
  display: flex; padding: 8px; min-width: 0;
}
body.ft-store #checkout-checkout #content .login-box .well {
  width: 100%; height: auto; margin: 0; padding: 24px;
  background: var(--fc-surface) !important; border: 1px solid var(--fc-line) !important;
  border-radius: 12px; box-shadow: none;
}
body.ft-store #checkout-checkout #content .login-box .well > .buttons { margin-top: auto; padding-top: 18px; }
body.ft-store #checkout-checkout #content .login-box .radio label {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding-left: 0;
}
body.ft-store #checkout-checkout #content .login-box .radio input[type="radio"] {
  position: static; flex: 0 0 18px; width: 18px; height: 18px; margin: 0; accent-color: var(--ft-red);
}
body.ft-store #checkout-checkout #content .login-box .form-group {
  display: flex; flex-direction: column; align-items: stretch; gap: 7px; margin-bottom: 14px;
}
body.ft-store #checkout-checkout #content .login-box .form-group label { width: auto; margin: 0; padding: 0; }
body.ft-store #checkout-checkout #content .login-box .forgot-password { margin: 2px 0 14px; color: var(--ft-red); }
body.ft-store :is(#checkout-cart, #checkout-checkout) #content :is(input.form-control, select.form-control, textarea.form-control) {
  min-height: 44px; border: 1px solid var(--fc-line) !important; border-radius: 7px;
  background: var(--fc-surface) !important; color: var(--ft-shell-text) !important;
  font-family: var(--ft-font-body) !important; box-shadow: none !important;
}
body.ft-store :is(#checkout-cart, #checkout-checkout) #content .btn.btn-primary {
  min-height: 44px; padding: 12px 22px; border: 1px solid var(--ft-red) !important;
  background: var(--ft-red) !important; color: #fff !important;
  border-radius: 0 !important;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
body.ft-store :is(#checkout-cart, #checkout-checkout) #content .btn.btn-primary :is(span, i, i::before) { color: inherit !important; }
body.ft-store :is(#checkout-cart, #checkout-checkout) #content .btn.btn-default {
  min-height: 44px; padding: 12px 20px; border: 1px solid var(--fc-line) !important;
  background: var(--fc-surface) !important; color: var(--ft-shell-text) !important; border-radius: 8px !important;
}
body.ft-store #checkout-cart #content .cart-bottom > .buttons {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin: 24px 0 0; padding: 0; border: 0;
}
body.ft-store :is(#checkout-cart, #checkout-checkout) #content :is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--ft-red); outline-offset: 3px;
}
body.ft-store :is(#checkout-cart, #checkout-checkout) #content .btn.btn-primary:focus-visible { box-shadow: inset 0 0 0 3px #fff; }
@media (max-width: 767px) {
  body.ft-store #checkout-cart #content .panels-total { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  body.ft-store #checkout-cart #content .panels-total > .row { grid-column: 1; }
  body.ft-store #checkout-cart #content .cart-table table { min-width: 620px; }
  body.ft-store :is(#checkout-cart, #checkout-checkout) #content .panel-body { padding: 14px; }
  body.ft-store :is(#checkout-cart, #checkout-checkout) #content .panel-title > a { padding: 12px 14px; font-size: 14px; }
  body.ft-store #checkout-cart #content .cart-bottom > .buttons > div { flex: 1 1 100%; float: none; }
  body.ft-store #checkout-cart #content .cart-bottom > .buttons .btn { display: flex; justify-content: center; width: 100%; }
  body.ft-store #checkout-checkout #content .login-box > .col-sm-6 { width: 100%; }
  body.ft-store #checkout-checkout #content .login-box .well { padding: 18px; }
}
