body.co-checkout-ux {
  --co-primary: #38a9c5;
  --co-primary-dark: #237f99;
  --co-accent: #f2d8e5;
  --co-accent-soft: #fff5fa;
  --co-ink: #22313a;
  --co-muted: #687983;
  --co-line: #dfe8ec;
  --co-surface: #ffffff;
  --co-bg: #f5f9fb;
  --co-success: #21834a;
  background: var(--co-bg);
}

/* 2.3.9 — layout explicit și stabil pentru rezumat și confirmare. */
@media (min-width: 768px) {
  body.co-checkout-ux .cart-section .co-products-table,
  body.co-checkout-ux .cart-section .co-products-table thead,
  body.co-checkout-ux .cart-section .co-products-table tbody {
    display: block;
    width: 100%;
  }

  body.co-checkout-ux .cart-section .co-products-table tr {
    display: grid;
    grid-template-columns: 90px minmax(180px, 1fr) 100px 180px 110px 100px;
    align-items: center;
    width: 100%;
  }

  body.co-checkout-ux .cart-section .co-products-table th,
  body.co-checkout-ux .cart-section .co-products-table td {
    display: block;
    width: auto !important;
    min-width: 0;
    padding: 14px 10px;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
  }

  body.co-checkout-ux .cart-section .co-products-table th:nth-child(n+3),
  body.co-checkout-ux .cart-section .co-products-table td:nth-child(n+3) {
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  body.co-checkout-ux .cart-section .table-responsive {
    overflow: visible;
    border: 0;
  }

  body.co-checkout-ux .cart-section .co-products-table tbody tr {
    display: grid !important;
    grid-template-columns: 88px minmax(0, 1fr) !important;
    grid-template-areas:
      'image product'
      'image model'
      'qty qty'
      'price price'
      'total total';
    gap: 10px 14px;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 0 12px;
    padding: 14px !important;
    background: #fff !important;
    border: 1px solid #dfe8ec;
    border-radius: 10px;
  }

  body.co-checkout-ux .cart-section .co-products-table tbody td {
    position: static !important;
    display: block !important;
    width: auto !important;
    min-width: 0;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
  }

  body.co-checkout-ux .cart-section .co-products-table .td-image {
    grid-area: image;
  }

  body.co-checkout-ux .cart-section .co-products-table .td-product {
    grid-area: product;
    align-self: center;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
  }

  body.co-checkout-ux .cart-section .co-products-table .td-model {
    grid-area: model;
    align-self: start;
  }

  body.co-checkout-ux .cart-section .co-products-table .td-qty {
    grid-area: qty;
  }

  body.co-checkout-ux .cart-section .co-products-table .td-price {
    grid-area: price;
  }

  body.co-checkout-ux .cart-section .co-products-table .td-total {
    grid-area: total;
  }

  body.co-checkout-ux .cart-section .co-products-table .td-image img {
    width: 88px;
    max-width: 88px;
    height: 88px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e2eaee;
    border-radius: 8px;
  }

  body.co-checkout-ux .cart-section .co-products-table .td-qty,
  body.co-checkout-ux .cart-section .co-products-table .td-price,
  body.co-checkout-ux .cart-section .co-products-table .td-total {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 9px !important;
    border-top: 1px solid #edf1f3 !important;
    white-space: nowrap;
  }

  body.co-checkout-ux .cart-section .co-products-table .td-qty:before,
  body.co-checkout-ux .cart-section .co-products-table .td-price:before,
  body.co-checkout-ux .cart-section .co-products-table .td-total:before {
    flex: 0 0 auto;
  }

  body.co-checkout-ux .cart-section .co-products-table .td-qty .input-group {
    display: inline-flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    align-items: center;
    max-width: none !important;
  }

  body.co-checkout-ux .confirm-section .co-trust-strip {
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin: 10px 0 8px;
  }

  body.co-checkout-ux .confirm-section .co-trust-strip span {
    display: inline-flex;
    width: auto;
    min-height: 0;
    padding: 2px 0;
    background: transparent;
    border: 0;
    font-size: 11px;
    text-align: left;
  }

  body.co-checkout-ux .co-confirm-consents {
    gap: 6px;
    margin: 8px 0 10px;
  }

  body.co-checkout-ux .co-confirm-consents .checkbox:not(.co-terms-consent) label {
    padding: 5px 0;
    background: transparent;
    border: 0;
  }

  body.co-checkout-ux .co-confirm-consents .co-terms-consent label {
    padding: 10px 11px;
  }
}

/* 2.3.3 — mobile: opțiuni și zona de încredere pe rânduri complete. */
@media (max-width: 767px) {
  body.co-checkout-ux .section-shipping .section-body,
  body.co-checkout-ux .section-shipping > div:not(.section-title) {
    gap: 10px;
  }

  body.co-checkout-ux .section-shipping .radio label {
    min-height: 88px;
    padding: 16px 46px 16px 52px;
    font-size: 15px;
    line-height: 1.4;
  }

  body.co-checkout-ux .section-shipping .co-choice-description {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.45;
  }

  body.co-checkout-ux .section-shipping .co-choice-badge {
    display: none;
  }

  body.co-checkout-ux .cart-section .co-products-table,
  body.co-checkout-ux .cart-section .co-products-table tbody {
    display: block;
    width: 100%;
  }

  body.co-checkout-ux .cart-section .co-products-table thead {
    display: none;
  }

  body.co-checkout-ux .cart-section .co-products-table tbody tr {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 7px 14px;
    width: 100%;
    min-height: 0;
    margin: 0 0 12px;
    padding: 15px;
    background: #fbfdfe;
    border: 1px solid #dfe8ec;
    border-radius: 10px;
  }

  body.co-checkout-ux .cart-section .co-products-table tbody td {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
    text-align: left;
  }

  body.co-checkout-ux .cart-section .co-products-table tbody td:first-child {
    position: static;
    grid-column: 1;
    grid-row: 1 / span 8;
    width: 84px;
  }

  body.co-checkout-ux .cart-section .co-products-table tbody td:first-child img {
    width: 84px;
    max-width: 84px;
    height: 84px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e4eaed;
    border-radius: 8px;
  }

  body.co-checkout-ux .cart-section .co-products-table tbody td:nth-child(2) {
    grid-column: 2;
    color: #22313a;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
  }

  body.co-checkout-ux .cart-section .co-products-table tbody td:nth-child(n+3) {
    grid-column: 2;
    color: #52636d;
    font-size: 12px;
    line-height: 1.35;
  }

  body.co-checkout-ux .cart-section .co-products-table tbody td:nth-child(n+3):before {
    content: attr(data-label) ': ';
    color: #83919a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
  }

  body.co-checkout-ux .cart-section .co-totals-table {
    width: 100%;
    margin-top: 12px;
    border-collapse: separate;
    border: 1px solid #dfe8ec;
    border-radius: 10px;
    overflow: hidden;
  }

  body.co-checkout-ux .cart-section .co-totals-table td {
    padding: 12px 14px;
    background: #f8fbfc;
    border-color: #e5ecef;
    font-size: 13px;
  }

  body.co-checkout-ux .cart-section .co-totals-table tr:last-child td {
    color: #22313a;
    background: #edf8fa;
    font-size: 16px;
    font-weight: 900;
  }

  body.co-checkout-ux .section-login .login-options {
    grid-template-columns: 1fr !important;
  }

  body.co-checkout-ux .section-login .login-options .radio,
  body.co-checkout-ux .section-login .login-options .radio:last-child {
    grid-column: auto;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  body.co-checkout-ux .confirm-section .co-trust-strip {
    clear: both;
    float: none !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

  body.co-checkout-ux .confirm-section .co-trust-strip span {
    width: 100%;
  }
}

body.co-checkout-ux h1.page-title {
  box-sizing: border-box;
  width: calc(100% - 40px);
  max-width: 1230px;
  margin: 28px auto 10px;
  padding: 0;
  color: var(--co-ink);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -.025em;
}

body.co-checkout-ux h1.page-title:after {
  display: none;
}

body.co-checkout-ux .co-checkout-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 0 22px;
  padding: 20px 24px;
  color: var(--co-ink);
  background: linear-gradient(135deg, var(--co-accent-soft), #effaff 78%);
  border: 1px solid #e8dfe5;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(40, 78, 91, .06);
}

body.co-checkout-ux .co-intro-copy {
  display: grid;
  gap: 3px;
}

body.co-checkout-ux .co-intro-copy strong {
  font-size: 20px;
  line-height: 1.25;
}

body.co-checkout-ux .co-intro-copy > span:last-child {
  color: var(--co-muted);
  font-size: 14px;
}

body.co-checkout-ux .co-intro-kicker {
  color: var(--co-primary-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

body.co-checkout-ux .co-checkout-steps {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

body.co-checkout-ux .co-checkout-steps span {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 64px;
  color: var(--co-muted);
  font-size: 11px;
  font-weight: 700;
}

body.co-checkout-ux .co-checkout-steps b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: white;
  background: var(--co-primary);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(56, 169, 197, .25);
}

body.co-checkout-ux .co-checkout-steps i {
  width: 36px;
  height: 2px;
  margin-top: -17px;
  background: #b9dbe4;
}

body.co-checkout-ux .quick-checkout-wrapper > div {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

body.co-checkout-ux .quick-checkout-wrapper .left,
body.co-checkout-ux .quick-checkout-wrapper .right {
  flex: 1 1 0;
  width: calc(50% - 11px);
  min-width: 0;
  gap: 18px;
}

body.co-checkout-ux .quick-checkout-wrapper .left form,
body.co-checkout-ux .quick-checkout-wrapper .right > div,
body.co-checkout-ux .cart-section,
body.co-checkout-ux .cart-section table {
  min-width: 0;
  max-width: 100%;
}

body.co-checkout-ux .cart-section {
  overflow-x: auto;
}

body.co-checkout-ux .co-checkout-card,
body.co-checkout-ux .section-payment,
body.co-checkout-ux .section-shipping {
  overflow: hidden;
  margin-bottom: 18px !important;
  background: var(--co-surface) !important;
  border: 1px solid var(--co-line) !important;
  border-radius: 12px !important;
  box-shadow: 0 5px 18px rgba(34, 49, 58, .055);
}

body.co-checkout-ux .co-checkout-card .section-title,
body.co-checkout-ux .section-payment .section-title,
body.co-checkout-ux .section-shipping .section-title {
  position: relative;
  margin: 0 !important;
  padding: 17px 20px 15px !important;
  color: var(--co-ink) !important;
  background: linear-gradient(90deg, #fbfdfe, #fff) !important;
  border-bottom: 1px solid #edf2f4;
  font-size: 16px !important;
  font-weight: 800 !important;
}

body.co-checkout-ux .co-checkout-card .section-title:after,
body.co-checkout-ux .section-payment .section-title:after,
body.co-checkout-ux .section-shipping .section-title:after {
  content: '';
  position: absolute;
  left: 20px;
  bottom: -1px;
  width: 48px;
  height: 3px;
  background: var(--co-primary);
  border-radius: 3px 3px 0 0;
}

body.co-checkout-ux .co-checkout-card .section-body,
body.co-checkout-ux .section-payment > div:not(.section-title),
body.co-checkout-ux .section-shipping > div:not(.section-title) {
  padding: 18px 20px !important;
}

body.co-checkout-ux .form-group {
  margin-bottom: 15px;
}

body.co-checkout-ux label.control-label {
  margin-bottom: 7px;
  color: #35454e;
  font-size: 13px;
  font-weight: 700;
}

body.co-checkout-ux .form-control {
  min-height: 46px;
  padding: 10px 13px;
  color: var(--co-ink);
  background: #fbfdfe;
  border: 1px solid #ccd9df;
  border-radius: 7px;
  box-shadow: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

body.co-checkout-ux .form-control:focus {
  background: #fff;
  border-color: var(--co-primary);
  box-shadow: 0 0 0 3px rgba(56, 169, 197, .14);
  outline: 0;
}

body.co-checkout-ux .form-control::placeholder {
  color: #9aa8af;
}

body.co-checkout-ux .has-error .form-control {
  border-color: #d84d4d;
  box-shadow: 0 0 0 3px rgba(216, 77, 77, .1);
}

body.co-checkout-ux .radio label,
body.co-checkout-ux .checkbox label {
  color: #34454e;
  line-height: 1.45;
}

body.co-checkout-ux input[type='radio'],
body.co-checkout-ux input[type='checkbox'] {
  accent-color: var(--co-primary-dark);
}

body.co-checkout-ux .section-login .login-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

body.co-checkout-ux .co-company-toggle {
  margin: 10px 0 16px;
  padding: 12px 14px;
  background: var(--co-accent-soft);
  border: 1px solid #eadce3;
  border-radius: 8px;
}

body.co-checkout-ux .co-company-field-hidden {
  display: none !important;
}

body.co-checkout-ux .co-phone-error[hidden] {
  display: none !important;
}

body.co-checkout-ux .co-phone-error {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
}

body.co-checkout-ux .section-payment .radio,
body.co-checkout-ux .section-shipping .radio {
  position: relative;
  margin: 0;
  padding: 0;
  background: #f8fbfc;
  border: 2px solid #e2eaee;
  border-radius: 10px;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

body.co-checkout-ux .section-payment .section-body,
body.co-checkout-ux .section-shipping .section-body,
body.co-checkout-ux .section-payment > div:not(.section-title),
body.co-checkout-ux .section-shipping > div:not(.section-title) {
  display: grid;
  gap: 12px;
}

body.co-checkout-ux .section-payment .radio:hover,
body.co-checkout-ux .section-shipping .radio:hover {
  border-color: #a9d4df;
  background: #fff;
  transform: translateY(-1px);
}

body.co-checkout-ux .section-payment .radio:has(input:checked),
body.co-checkout-ux .section-shipping .radio:has(input:checked) {
  background: linear-gradient(135deg, #effbfe, #fff8fb);
  border-color: var(--co-primary);
  box-shadow: 0 5px 14px rgba(56, 169, 197, .12);
}

body.co-checkout-ux .section-payment .radio label,
body.co-checkout-ux .section-shipping .radio label {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 58px;
  margin: 0;
  padding: 11px 42px 11px 52px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

body.co-checkout-ux .section-payment .radio label:before,
body.co-checkout-ux .section-shipping .radio label:before {
  position: absolute;
  left: 14px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--co-primary-dark);
  background: #e8f7fb;
  border-radius: 8px;
  transform: translateY(-50%);
  font-size: 15px;
}

body.co-checkout-ux .section-payment .radio:nth-of-type(1) label:before {
  content: '◉';
}

body.co-checkout-ux .section-payment .radio:nth-of-type(2) label:before {
  content: '▰';
}

body.co-checkout-ux .section-shipping .radio:nth-of-type(1) label:before {
  content: '↗';
}

body.co-checkout-ux .section-shipping .radio:nth-of-type(2) label:before {
  content: '▣';
}

body.co-checkout-ux .section-payment .radio:has(input:checked):after,
body.co-checkout-ux .section-shipping .radio:has(input:checked):after {
  content: '✓';
  position: absolute;
  right: 14px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #fff;
  background: var(--co-primary-dark);
  border-radius: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 900;
}

body.co-checkout-ux .section-payment .radio input,
body.co-checkout-ux .section-shipping .radio input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

body.co-checkout-ux .section-payment .radio + .radio,
body.co-checkout-ux .section-shipping .radio + .radio {
  margin-top: 8px;
}

body.co-checkout-ux .section-cvr .section-body {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
  margin: 14px 18px 18px;
  padding: 16px 16px 16px 62px !important;
  background: linear-gradient(135deg, #fff8fb, #f2fbfd);
  border: 1px dashed #d2a9bd;
  border-radius: 10px;
}

body.co-checkout-ux .section-cvr .section-body:before {
  content: '🏷';
  position: absolute;
  left: 16px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: #fff;
  border: 1px solid #ead7e0;
  border-radius: 9px;
  transform: translateY(-50%);
  font-size: 17px;
}

body.co-checkout-ux .section-cvr .form-group {
  margin: 0;
}

body.co-checkout-ux .section-cvr label,
body.co-checkout-ux .section-cvr .control-label {
  display: none;
}

body.co-checkout-ux .section-cvr button {
  min-height: 46px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--co-primary), var(--co-primary-dark));
  border: 0;
  border-radius: 7px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 5px 13px rgba(35, 127, 153, .18);
}

body.co-checkout-ux .cart-section table {
  margin-bottom: 0;
}

body.co-checkout-ux .cart-section thead td,
body.co-checkout-ux .cart-section thead th {
  color: var(--co-muted);
  background: #f7fafb;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
}

body.co-checkout-ux .cart-section tbody tr:last-child td {
  border-bottom: 0;
}

body.co-checkout-ux .cart-section + table,
body.co-checkout-ux .cart-section table + table {
  margin-top: 10px;
}

body.co-checkout-ux .cart-section table:last-child tr:last-child {
  color: var(--co-ink);
  background: var(--co-accent-soft);
  font-size: 17px;
}

body.co-checkout-ux .confirm-section textarea {
  min-height: 90px;
  resize: vertical;
}

body.co-checkout-ux .co-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 18px 0 14px;
}

body.co-checkout-ux .co-trust-strip span {
  padding: 9px 8px;
  color: #4a5b64;
  background: #f5faf7;
  border: 1px solid #dcece2;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

body.co-checkout-ux .co-trust-strip b {
  color: var(--co-success);
}

body.co-checkout-ux #quick-checkout-button-confirm {
  min-height: 54px;
  padding: 13px 24px;
  color: #fff !important;
  background: linear-gradient(135deg, #2e9eb8, #237f99) !important;
  border: 0 !important;
  border-radius: 9px !important;
  box-shadow: 0 8px 20px rgba(35, 127, 153, .25);
  font-size: 16px !important;
  font-weight: 900 !important;
  letter-spacing: .015em;
  transition: transform .18s ease, box-shadow .18s ease;
}

body.co-checkout-ux #quick-checkout-button-confirm:hover {
  transform: translateY(-1px);
  box-shadow: 0 11px 25px rgba(35, 127, 153, .31);
}

body.co-checkout-ux .co-confirm-consents {
  display: grid;
  gap: 8px;
  width: 100%;
  margin: 10px 0 12px;
}

body.co-checkout-ux .co-confirm-consents .checkbox,
body.co-checkout-ux .co-confirm-consents .form-group {
  margin: 0;
}

body.co-checkout-ux .co-confirm-consents label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  padding: 9px 11px;
  background: #f8fbfc;
  border: 1px solid #e1e9ed;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;
}

body.co-checkout-ux .co-confirm-consents input[type='checkbox'] {
  position: static !important;
  left: auto !important;
  top: auto !important;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  opacity: 1 !important;
  transform: none !important;
}

body.co-checkout-ux .co-confirm-consents .co-consent-copy {
  flex: 1 1 auto;
  min-width: 0;
}

body.co-checkout-ux .co-confirm-consents .co-consent-copy a {
  display: inline;
  margin-left: 3px;
}

body.co-checkout-ux .co-confirm-consents .co-terms-consent,
body.co-checkout-ux .co-confirm-consents .co-terms-consent label {
  background: #eef9fb;
  border-color: #9fd3de;
}

body.co-checkout-ux .co-confirm-consents .co-terms-consent label {
  color: #263b45;
  font-weight: 700;
}

body.co-checkout-ux .co-confirm-consents label.co-terms-consent {
  color: #263b45;
  background: #eef9fb;
  border-color: #9fd3de;
  font-weight: 700;
}

body.co-checkout-ux .co-confirm-consents .co-terms-consent a {
  color: var(--co-primary-dark);
  font-weight: 900;
}

body.co-checkout-ux .co-products-table {
  width: 100%;
  table-layout: auto;
}

@media (min-width: 768px) {
  body.co-checkout-ux .cart-section .table-responsive {
    overflow-x: visible;
  }
}

body.co-checkout-ux .co-products-table th,
body.co-checkout-ux .co-products-table td {
  padding-left: 10px;
  padding-right: 10px;
  overflow-wrap: normal;
  word-break: normal;
}

body.co-checkout-ux .co-products-table th:nth-child(1),
body.co-checkout-ux .co-products-table td:nth-child(1) { width: 100px; }
body.co-checkout-ux .co-products-table th:nth-child(2),
body.co-checkout-ux .co-products-table td:nth-child(2) { width: auto; }
body.co-checkout-ux .co-products-table th:nth-child(3),
body.co-checkout-ux .co-products-table td:nth-child(3) { width: 105px; }
body.co-checkout-ux .co-products-table th:nth-child(4),
body.co-checkout-ux .co-products-table td:nth-child(4) { width: 180px; }
body.co-checkout-ux .co-products-table th:nth-child(5),
body.co-checkout-ux .co-products-table td:nth-child(5) { width: 110px; }
body.co-checkout-ux .co-products-table th:nth-child(6),
body.co-checkout-ux .co-products-table td:nth-child(6) { width: 105px; }

body.co-checkout-ux .co-products-table th:nth-child(n+3),
body.co-checkout-ux .co-products-table td:nth-child(n+3) {
  white-space: nowrap;
}

body.co-checkout-ux .co-products-table .input-group {
  display: inline-flex;
  align-items: center;
  width: auto;
  gap: 7px;
}

body.co-checkout-ux .co-products-table .input-group-btn {
  display: inline-flex;
  width: auto;
  gap: 7px;
}

body.co-checkout-ux .co-products-table input[type='number'],
body.co-checkout-ux .co-products-table input[name*='quantity'] {
  width: 54px;
  min-height: 42px;
  padding: 7px 6px;
  background: #fff;
  border: 1px solid #bfcdd4;
  border-radius: 8px !important;
  text-align: center;
  font-weight: 800;
  -moz-appearance: textfield;
}

body.co-checkout-ux .co-products-table input[type='number']::-webkit-inner-spin-button,
body.co-checkout-ux .co-products-table input[type='number']::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

body.co-checkout-ux .co-products-table .btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  min-width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 8px !important;
  box-shadow: none;
}

body.co-checkout-ux .breadcrumb {
  opacity: .7;
}

/* Checkout-ul trebuie să rămână concentrat pe finalizarea comenzii. */
body.co-checkout-ux .module-products,
body.co-checkout-ux .products-carousel,
body.co-checkout-ux [class*="module-products"] {
  display: none;
}

@media (max-width: 767px) {
  body.co-checkout-ux h1.page-title {
    width: calc(100% - 30px);
    margin-top: 18px;
    font-size: 28px;
  }

  body.co-checkout-ux .co-checkout-intro {
    display: grid;
    gap: 16px;
    padding: 17px;
    border-radius: 10px;
  }

  body.co-checkout-ux .quick-checkout-wrapper > div {
    display: block;
  }

  body.co-checkout-ux .quick-checkout-wrapper .left,
  body.co-checkout-ux .quick-checkout-wrapper .right {
    width: 100%;
    min-width: 0;
  }

  body.co-checkout-ux .co-intro-copy strong {
    font-size: 18px;
  }

  body.co-checkout-ux .co-checkout-steps {
    justify-content: center;
  }

  body.co-checkout-ux .co-checkout-steps i {
    flex: 1 1 20px;
    max-width: 42px;
  }

  body.co-checkout-ux .co-checkout-card,
  body.co-checkout-ux .section-payment,
  body.co-checkout-ux .section-shipping {
    margin-bottom: 13px !important;
    border-radius: 9px !important;
  }

  body.co-checkout-ux .co-checkout-card .section-title,
  body.co-checkout-ux .section-payment .section-title,
  body.co-checkout-ux .section-shipping .section-title {
    padding: 15px 16px 13px !important;
  }

  body.co-checkout-ux .co-checkout-card .section-body,
  body.co-checkout-ux .section-payment > div:not(.section-title),
  body.co-checkout-ux .section-shipping > div:not(.section-title) {
    padding: 15px 16px !important;
  }

  body.co-checkout-ux .section-login .login-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  body.co-checkout-ux .section-login .login-options .radio:last-child {
    grid-column: 1 / -1;
    padding: 10px 12px;
    background: var(--co-accent-soft);
    border-radius: 7px;
  }

  body.co-checkout-ux .section-cvr .section-body {
    grid-template-columns: 1fr;
    margin: 12px;
    padding: 55px 14px 14px !important;
  }

  body.co-checkout-ux .section-cvr .section-body:before {
    left: 14px;
    top: 12px;
    transform: none;
  }

  body.co-checkout-ux .section-cvr button {
    width: 100%;
  }

  body.co-checkout-ux .co-trust-strip {
    grid-template-columns: 1fr;
  }

  body.co-checkout-ux .checkout-cart table,
  body.co-checkout-ux .checkout-cart thead,
  body.co-checkout-ux .checkout-cart tbody,
  body.co-checkout-ux .checkout-cart tr,
  body.co-checkout-ux .checkout-cart td {
    display: block;
    width: 100%;
  }

  body.co-checkout-ux .checkout-cart thead {
    display: none;
  }

  body.co-checkout-ux .checkout-cart tr {
    position: relative;
    padding: 12px 12px 12px 92px;
    min-height: 90px;
    border-bottom: 1px solid #e8e8e8;
  }

  body.co-checkout-ux .checkout-cart td {
    padding: 3px 0;
    border: 0;
    text-align: left;
  }

  body.co-checkout-ux .checkout-cart td:first-child {
    position: absolute;
    left: 10px;
    top: 12px;
    width: 68px;
  }

  body.co-checkout-ux #quick-checkout-button-confirm {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
  }
}

@media (min-width: 992px) {
  body.co-checkout-ux .quick-checkout-wrapper > div {
    align-items: flex-start;
  }
}

/* 2.2 — direcție vizuală mai simplă, fără iconuri decorative redundante. */
body.co-checkout-ux h1.page-title {
  font-size: clamp(27px, 2.5vw, 34px);
}

body.co-checkout-ux .co-checkout-intro {
  min-height: 78px;
  padding: 14px 20px;
  background: #fff;
  border-color: var(--co-line);
  box-shadow: 0 4px 14px rgba(34, 49, 58, .04);
}

body.co-checkout-ux .co-intro-kicker {
  display: none;
}

body.co-checkout-ux .co-intro-copy strong {
  font-size: 17px;
}

body.co-checkout-ux .co-checkout-card,
body.co-checkout-ux .section-payment,
body.co-checkout-ux .section-shipping {
  box-shadow: 0 3px 12px rgba(34, 49, 58, .045);
}

body.co-checkout-ux .section-payment .radio,
body.co-checkout-ux .section-shipping .radio {
  border-width: 1px;
  border-color: #dfe7eb;
  border-radius: 8px;
  box-shadow: none;
}

body.co-checkout-ux .section-payment .radio:hover,
body.co-checkout-ux .section-shipping .radio:hover {
  border-color: #9fcdd8;
  transform: none;
}

body.co-checkout-ux .section-payment .radio:has(input:checked),
body.co-checkout-ux .section-shipping .radio:has(input:checked) {
  background: #f2fafc;
  border-color: var(--co-primary);
  box-shadow: inset 3px 0 0 var(--co-primary);
}

body.co-checkout-ux .section-payment .radio label,
body.co-checkout-ux .section-shipping .radio label {
  display: block;
  min-height: 74px;
  padding: 14px 82px 13px 44px;
  font-weight: 600;
}

body.co-checkout-ux .co-choice-description {
  display: block;
  margin-top: 4px;
  color: #71818a;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

body.co-checkout-ux .co-choice-badge {
  position: absolute;
  right: 45px;
  top: 50%;
  padding: 3px 7px;
  color: var(--co-primary-dark);
  background: #e9f7fa;
  border-radius: 10px;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  transform: translateY(-50%);
}

body.co-checkout-ux .section-payment .radio label:before,
body.co-checkout-ux .section-shipping .radio label:before {
  content: none !important;
}

body.co-checkout-ux .section-payment .radio input,
body.co-checkout-ux .section-shipping .radio input {
  position: absolute;
  left: 15px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: 0 !important;
  opacity: 1;
  transform: translateY(-50%);
}

body.co-checkout-ux .section-payment .radio:has(input:checked):after,
body.co-checkout-ux .section-shipping .radio:has(input:checked):after {
  right: 14px;
  bottom: auto;
  top: 50%;
  width: 20px;
  height: 20px;
  background: var(--co-primary);
  transform: translateY(-50%);
}

body.co-checkout-ux .section-cvr .section-body {
  margin: 0;
  padding: 18px 20px !important;
  background: #fbfdfe;
  border: 0;
  border-radius: 0;
}

body.co-checkout-ux .section-cvr .section-title {
  display: block !important;
}

body.co-checkout-ux .co-voucher-teaser {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 58px;
  padding: 9px 12px;
  color: var(--co-ink) !important;
  background: linear-gradient(90deg, #f0fafc, #fff8fb) !important;
  border: 1px solid #b8dce4 !important;
  border-radius: 9px;
  box-shadow: none !important;
  text-align: left;
  transition: background .18s ease, border-color .18s ease;
}

body.co-checkout-ux .co-voucher-teaser:hover {
  color: var(--co-ink) !important;
  background: linear-gradient(90deg, #e9f8fb, #fff4f9) !important;
  border-color: #7fbfce !important;
}

body.co-checkout-ux .co-voucher-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--co-primary-dark);
  background: #e9f7fa;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 900;
}

body.co-checkout-ux .co-voucher-teaser strong,
body.co-checkout-ux .co-voucher-teaser small {
  display: block;
}

body.co-checkout-ux .co-voucher-teaser strong {
  color: var(--co-ink) !important;
  font-size: 13px;
}

body.co-checkout-ux .co-voucher-teaser small {
  margin-top: 2px;
  color: var(--co-muted) !important;
  font-size: 11px;
}

body.co-checkout-ux .co-voucher-teaser > b {
  color: var(--co-primary-dark) !important;
  font-size: 19px;
  transition: transform .18s ease;
}

body.co-checkout-ux .co-voucher-teaser:focus {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(56, 169, 197, .14) !important;
}

body.co-checkout-ux .section-cvr.is-open .co-voucher-teaser > b {
  transform: rotate(180deg);
}

body.co-checkout-ux .section-cvr:not(.is-open) .section-body > *:not(.co-voucher-teaser) {
  display: none !important;
}

body.co-checkout-ux .section-cvr.is-open .section-body {
  display: block !important;
  padding: 14px !important;
}

body.co-checkout-ux .section-cvr.is-open .co-voucher-teaser {
  margin-bottom: 16px;
}

body.co-checkout-ux .section-cvr.is-open .form-coupon {
  display: block;
  width: 100%;
  margin: 0 0 14px;
}

body.co-checkout-ux .section-cvr.is-open .form-coupon:last-child {
  margin-bottom: 0;
}

body.co-checkout-ux .section-cvr.is-open .control-label {
  display: block;
  margin: 0 0 7px;
  color: #35454e;
  font-size: 13px;
  font-weight: 700;
}

body.co-checkout-ux .section-cvr.is-open .input-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 9px;
}

body.co-checkout-ux .section-cvr.is-open .input-group .form-control,
body.co-checkout-ux .section-cvr.is-open .input-group-btn,
body.co-checkout-ux .section-cvr.is-open .input-group-btn button {
  display: block;
  width: 100%;
}

body.co-checkout-ux .section-cvr.is-open .input-group .form-control {
  border-radius: 7px !important;
}

body.co-checkout-ux .section-cvr.is-open .input-group-btn button {
  min-height: 46px;
  border-radius: 7px !important;
}

body.co-checkout-ux .section-cvr .section-body:before {
  content: none;
}

body.co-checkout-ux .section-cvr button {
  background: var(--co-primary-dark);
  box-shadow: none;
}

@media (max-width: 767px) {
  body.co-checkout-ux .cart-section .co-products-table tbody tr {
    background: #fff !important;
    align-items: start;
    min-height: 0 !important;
    height: auto !important;
  }

  body.co-checkout-ux .cart-section .co-products-table tbody td {
    background: transparent !important;
    min-height: 0 !important;
    height: auto !important;
  }

  body.co-checkout-ux .cart-section .co-products-table .input-group {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 7px;
  }

  body.co-checkout-ux .cart-section .co-products-table tbody td:first-child {
    grid-row: 1 !important;
  }

  body.co-checkout-ux .cart-section .co-products-table tbody td:nth-child(n+3) {
    width: auto;
    white-space: normal;
  }

  body.co-checkout-ux .cart-section .co-products-table tbody td:nth-child(3),
  body.co-checkout-ux .cart-section .co-products-table tbody td:nth-child(n+5) {
    white-space: nowrap;
  }

  body.co-checkout-ux .section-login .login-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    width: 100%;
  }

  body.co-checkout-ux .section-login .login-options .radio,
  body.co-checkout-ux .section-login .login-options .radio:last-child {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #f8fbfc;
    border: 1px solid #dfe7eb;
    border-radius: 8px;
  }

  body.co-checkout-ux .section-login .login-options .radio:has(input:checked) {
    background: #fff5fa;
    border-color: #efd7e3;
  }

  body.co-checkout-ux .section-login .login-options .radio label {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 12px 15px 12px 58px;
  }

  body.co-checkout-ux .section-login .login-options .radio input {
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    z-index: 2;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    opacity: 1 !important;
    transform: translateY(-50%) !important;
  }

  body.co-checkout-ux .confirm-section .co-trust-strip {
    clear: both;
    float: none !important;
    grid-template-columns: 1fr;
    width: 100%;
    margin: 14px 0 12px;
    gap: 7px;
  }

  body.co-checkout-ux .confirm-section .co-trust-strip span {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 40px;
    padding: 9px 12px;
    text-align: left;
  }

  body.co-checkout-ux .confirm-section .co-trust-strip b {
    margin-right: 6px;
  }

  body.co-checkout-ux .confirm-section #quick-checkout-button-confirm {
    clear: both;
    float: none !important;
    display: block;
  }

  body.co-checkout-ux .co-checkout-intro {
    min-height: 0;
    padding: 14px;
  }

  body.co-checkout-ux .co-intro-copy > span:last-child {
    display: none;
  }

  body.co-checkout-ux .section-cvr .section-body {
    margin: 0;
    padding: 15px 16px !important;
  }

  body.co-checkout-ux .section-payment .radio label {
    min-height: 72px;
    padding-right: 70px;
  }

  body.co-checkout-ux .section-shipping .radio label {
    min-height: 88px;
    padding: 16px 46px 16px 52px;
  }

  body.co-checkout-ux .co-choice-badge {
    right: 42px;
  }
}

/* 2.3.9 final overrides — intentionally last, after Journal/mobile compatibility rules. */
@media (min-width: 768px) {
  body.co-checkout-ux .cart-section .co-products-table,
  body.co-checkout-ux .cart-section .co-products-table thead,
  body.co-checkout-ux .cart-section .co-products-table tbody {
    display: block;
    width: 100%;
  }

  body.co-checkout-ux .cart-section .co-products-table tr {
    display: grid;
    grid-template-columns: 90px minmax(180px, 1fr) 100px 180px 110px 100px;
    align-items: center;
    width: 100%;
  }

  body.co-checkout-ux .cart-section .co-products-table th,
  body.co-checkout-ux .cart-section .co-products-table td {
    display: block;
    width: auto !important;
    min-width: 0;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
  }

  body.co-checkout-ux .cart-section .co-products-table th:nth-child(n+3),
  body.co-checkout-ux .cart-section .co-products-table td:nth-child(n+3) {
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  body.co-checkout-ux .cart-section .table-responsive {
    overflow: visible;
    border: 0;
  }

  body.co-checkout-ux .cart-section .co-products-table tbody tr {
    display: grid !important;
    grid-template-columns: 88px minmax(0, 1fr) !important;
    grid-template-areas: 'image product' 'image model' 'qty qty' 'price price' 'total total' !important;
    gap: 10px 14px;
    min-height: 0 !important;
    height: auto !important;
    padding: 14px !important;
  }

  body.co-checkout-ux .cart-section .co-products-table tbody td {
    position: static !important;
    display: block !important;
    grid-column: auto !important;
    grid-row: auto !important;
    width: auto !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
  }

  body.co-checkout-ux .cart-section .co-products-table .td-image { grid-area: image !important; }
  body.co-checkout-ux .cart-section .co-products-table .td-product { grid-area: product !important; align-self: center; }
  body.co-checkout-ux .cart-section .co-products-table .td-model { grid-area: model !important; }
  body.co-checkout-ux .cart-section .co-products-table .td-qty { grid-area: qty !important; }
  body.co-checkout-ux .cart-section .co-products-table .td-price { grid-area: price !important; }
  body.co-checkout-ux .cart-section .co-products-table .td-total { grid-area: total !important; }

  body.co-checkout-ux .cart-section .co-products-table .td-qty,
  body.co-checkout-ux .cart-section .co-products-table .td-price,
  body.co-checkout-ux .cart-section .co-products-table .td-total {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 9px !important;
    border-top: 1px solid #edf1f3 !important;
    white-space: nowrap;
  }

  body.co-checkout-ux .confirm-section .co-trust-strip {
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px 14px;
    width: 100%;
    margin: 10px 0 8px;
  }

  body.co-checkout-ux .confirm-section .co-trust-strip span {
    display: inline-flex;
    width: auto;
    min-height: 0;
    padding: 2px 0;
    background: transparent;
    border: 0;
    font-size: 11px;
  }

  body.co-checkout-ux .co-confirm-consents .checkbox:not(.co-terms-consent) label {
    padding: 5px 0;
    background: transparent;
    border: 0;
  }
}

/* 2.4.0 — desktop încadrat și acorduri compacte, pe un singur rând. */
body.co-checkout-ux .co-confirm-consents label {
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 0 !important;
}

body.co-checkout-ux .co-confirm-consents input[type='checkbox'] {
  flex: 0 0 18px !important;
  margin: 2px 9px 0 0 !important;
}

body.co-checkout-ux .co-confirm-consents .co-consent-copy {
  display: block;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  line-height: 1.45;
}

body.co-checkout-ux .co-confirm-consents .co-terms-consent,
body.co-checkout-ux .co-confirm-consents .co-terms-consent label,
body.co-checkout-ux .co-confirm-consents label.co-terms-consent {
  background: #f2fafb;
  border-color: #b9dce4;
}

@media (min-width: 768px) {
  body.co-checkout-ux .cart-section .table-responsive,
  body.co-checkout-ux .cart-section .co-products-table,
  body.co-checkout-ux .cart-section .co-products-table thead,
  body.co-checkout-ux .cart-section .co-products-table tbody,
  body.co-checkout-ux .cart-section .co-products-table tr {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body.co-checkout-ux .cart-section .table-responsive {
    overflow: hidden !important;
  }

  body.co-checkout-ux .cart-section .co-products-table tr {
    grid-template-columns: 76px minmax(0, 1fr) 86px 156px 94px 94px !important;
  }

  body.co-checkout-ux .cart-section .co-products-table th,
  body.co-checkout-ux .cart-section .co-products-table td {
    box-sizing: border-box;
    min-width: 0 !important;
    padding-left: 7px;
    padding-right: 7px;
    font-size: 13px;
  }

  body.co-checkout-ux .cart-section .co-products-table .input-group {
    gap: 5px;
  }

  body.co-checkout-ux .cart-section .co-products-table .input-group-btn {
    gap: 5px;
  }

  body.co-checkout-ux .cart-section .co-products-table input[type='text'] {
    width: 48px;
  }

  body.co-checkout-ux .cart-section .co-products-table .btn {
    width: 38px;
    min-width: 38px;
    height: 38px;
  }
}

@media (max-width: 767px) {
  body.co-checkout-ux .co-confirm-consents label {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    width: 100%;
    padding: 7px 8px;
  }

  body.co-checkout-ux .co-confirm-consents .checkbox:not(.co-terms-consent) label {
    padding: 6px 0;
  }

  body.co-checkout-ux .co-confirm-consents .co-terms-consent label {
    padding: 9px 10px;
  }
}

/* 2.4.1 — carduri de produs și pe desktop; tabelul clasic nu încape în coloana checkoutului. */
@media (min-width: 768px) {
  body.co-checkout-ux .cart-section .table-responsive {
    overflow: visible !important;
    border: 0;
  }

  body.co-checkout-ux .cart-section .co-products-table,
  body.co-checkout-ux .cart-section .co-products-table tbody {
    display: block !important;
    width: 100% !important;
  }

  body.co-checkout-ux .cart-section .co-products-table thead {
    display: none !important;
  }

  body.co-checkout-ux .cart-section .co-products-table tbody {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body.co-checkout-ux .cart-section .co-products-table tbody tr {
    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr) !important;
    grid-template-areas: 'image product' 'image model' 'qty qty' 'price price' 'total total' !important;
    align-content: start;
    gap: 10px 14px;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0;
    padding: 15px !important;
    background: #fff !important;
    border: 1px solid #dfe8ec;
    border-radius: 10px;
  }

  body.co-checkout-ux .cart-section .co-products-table tbody td {
    position: static !important;
    display: block !important;
    grid-column: auto !important;
    grid-row: auto !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    white-space: normal !important;
  }

  body.co-checkout-ux .cart-section .co-products-table .td-image { grid-area: image !important; }
  body.co-checkout-ux .cart-section .co-products-table .td-product { grid-area: product !important; align-self: center; font-size: 14px; font-weight: 800; line-height: 1.35; }
  body.co-checkout-ux .cart-section .co-products-table .td-model { grid-area: model !important; }
  body.co-checkout-ux .cart-section .co-products-table .td-qty { grid-area: qty !important; }
  body.co-checkout-ux .cart-section .co-products-table .td-price { grid-area: price !important; }
  body.co-checkout-ux .cart-section .co-products-table .td-total { grid-area: total !important; }

  body.co-checkout-ux .cart-section .co-products-table .td-image img {
    width: 96px;
    max-width: 96px;
    height: 96px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e2eaee;
    border-radius: 8px;
  }

  body.co-checkout-ux .cart-section .co-products-table .td-model:before,
  body.co-checkout-ux .cart-section .co-products-table .td-qty:before,
  body.co-checkout-ux .cart-section .co-products-table .td-price:before,
  body.co-checkout-ux .cart-section .co-products-table .td-total:before {
    content: attr(data-label) ': ';
    color: #83919a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
  }

  body.co-checkout-ux .cart-section .co-products-table .td-qty,
  body.co-checkout-ux .cart-section .co-products-table .td-price,
  body.co-checkout-ux .cart-section .co-products-table .td-total {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 9px !important;
    border-top: 1px solid #edf1f3 !important;
    white-space: nowrap !important;
  }

  body.co-checkout-ux .cart-section .co-products-table .td-qty .input-group {
    display: inline-flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    max-width: none !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  body.co-checkout-ux .cart-section .co-products-table tbody {
    grid-template-columns: 1fr;
  }
}

/* 2.4.2 — evidențierea termenilor rămâne strict în interiorul chenarului. */
body.co-checkout-ux .co-confirm-consents .co-terms-consent {
  width: 100%;
  margin: 0;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

body.co-checkout-ux .co-confirm-consents .co-terms-consent label {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  background: #f2fafb !important;
  border: 1px solid #b9dce4 !important;
  border-radius: 8px;
}

/* 2.4.3 — casete egale și selector Journal stepper modernizat. */
body.co-checkout-ux .co-products-table .td-qty .stepper {
  display: grid !important;
  grid-template-columns: 44px 27px;
  grid-template-rows: 42px;
  width: 71px !important;
  min-width: 71px;
  height: 42px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #b9c8cf;
  border-radius: 8px;
  box-shadow: inset 0 1px 2px rgba(34, 49, 58, .04);
}

body.co-checkout-ux .co-products-table .td-qty .stepper input {
  display: block;
  width: 44px !important;
  min-width: 0 !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 7px 4px !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
}

body.co-checkout-ux .co-products-table .td-qty .stepper > span {
  position: static !important;
  display: grid !important;
  grid-template-rows: 1fr 1fr;
  width: 27px !important;
  height: 42px !important;
  background: #f3f8fa;
  border-left: 1px solid #cbd7dc;
}

body.co-checkout-ux .co-products-table .td-qty .stepper > span > i {
  position: static !important;
  display: grid !important;
  place-items: center;
  width: 100% !important;
  height: 21px !important;
  color: #536771;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  line-height: 1;
}

body.co-checkout-ux .co-products-table .td-qty .stepper > span > i:first-child {
  border-bottom: 1px solid #cbd7dc;
}

body.co-checkout-ux .co-products-table .td-qty .stepper > span > i:hover {
  color: #fff;
  background: var(--co-primary);
}

@media (min-width: 768px) {
  body.co-checkout-ux .co-confirm-consents .checkbox,
  body.co-checkout-ux .co-confirm-consents .co-terms-consent {
    display: block;
    width: 100%;
    min-height: 58px;
  }

  body.co-checkout-ux .co-confirm-consents .checkbox label,
  body.co-checkout-ux .co-confirm-consents .co-terms-consent label {
    align-items: center !important;
    width: 100%;
    min-height: 58px;
    padding: 10px 14px;
  }

  body.co-checkout-ux .co-confirm-consents input[type='checkbox'] {
    margin-top: 0 !important;
  }
}

/* 2.4.4 — checkout one-page și acorduri perfect aliniate. */
body.co-checkout-ux .co-checkout-single-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  color: #31515d;
  background: #f0f9fb;
  border: 1px solid #c7e2e8;
  border-radius: 9px;
}

body.co-checkout-ux .co-checkout-single-step > b {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  color: #fff;
  background: var(--co-primary);
  border-radius: 50%;
}

body.co-checkout-ux .co-checkout-single-step > span {
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
}

body.co-checkout-ux .co-checkout-single-step small {
  display: block;
  margin-top: 2px;
  color: var(--co-muted);
  font-size: 10px;
  font-weight: 500;
}

body.co-checkout-ux .co-confirm-consents > .checkbox,
body.co-checkout-ux .co-confirm-consents > .co-terms-consent {
  box-sizing: border-box;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.co-checkout-ux .co-confirm-consents > .checkbox > label,
body.co-checkout-ux .co-confirm-consents > .co-terms-consent > label {
  box-sizing: border-box;
  width: 100% !important;
  margin: 0 !important;
}

body.co-checkout-ux .co-confirm-consents .co-consent-copy a {
  white-space: nowrap;
}

@media (max-width: 767px) {
  body.co-checkout-ux .co-checkout-single-step {
    width: 100%;
    padding: 8px 10px;
  }

  body.co-checkout-ux .co-confirm-consents .co-terms-consent label {
    padding: 11px 10px;
    background: #eaf8fb !important;
    border: 2px solid #78c4d4 !important;
    box-shadow: 0 4px 12px rgba(35, 127, 153, .09);
  }

  body.co-checkout-ux .co-confirm-consents .co-terms-consent .co-consent-copy {
    color: #203842;
    font-weight: 800;
  }
}

/* 2.5.0 — acordul obligatoriu devine o secțiune separată și aerisită. */
body.co-checkout-ux .co-confirm-consents {
  gap: 12px;
}

body.co-checkout-ux .co-confirm-consents > .checkbox:not(.co-terms-consent) > label {
  min-height: 0;
  padding: 6px 2px !important;
  color: #61747e;
  background: transparent !important;
  border: 0 !important;
}

body.co-checkout-ux .co-confirm-consents > .co-terms-consent {
  box-sizing: border-box;
  display: block;
  min-height: 0;
  padding: 15px !important;
  background: #eaf8fb !important;
  border: 0 !important;
  border-radius: 10px;
}

body.co-checkout-ux .co-confirm-consents .co-consent-kicker {
  display: block;
  margin: 0 0 10px;
  color: var(--co-primary-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .05em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.co-checkout-ux .co-confirm-consents > .co-terms-consent > label {
  display: flex !important;
  align-items: flex-start !important;
  min-height: 0 !important;
  padding: 0 !important;
  color: #263b45;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
}

body.co-checkout-ux .co-confirm-consents > .co-terms-consent input[type='checkbox'] {
  flex-basis: 21px !important;
  width: 21px;
  height: 21px;
  margin: 0 11px 0 0 !important;
}

body.co-checkout-ux .co-confirm-consents > .co-terms-consent .co-consent-copy {
  color: #263b45;
  font-weight: 700;
  line-height: 1.45;
}

@media (max-width: 767px) {
  body.co-checkout-ux .co-confirm-consents {
    margin-top: 12px;
  }

  body.co-checkout-ux .co-confirm-consents > .co-terms-consent {
    padding: 14px !important;
  }

  body.co-checkout-ux .co-confirm-consents > .checkbox:not(.co-terms-consent) > label {
    padding: 4px 2px 6px !important;
  }

  body.co-checkout-ux .co-confirm-consents > .co-terms-consent .co-consent-copy a {
    display: block;
    width: max-content;
    max-width: 100%;
    margin: 3px 0 0 !important;
    padding: 0 !important;
    font-size: 12px;
    line-height: 1.35;
    text-align: left;
  }

  body.co-checkout-ux .co-confirm-consents > .co-terms-consent > label {
    align-items: center !important;
  }

  body.co-checkout-ux .co-confirm-consents > .co-terms-consent input[type='checkbox'] {
    margin-top: 0 !important;
  }
}
