.checkout-2026 {
  --checkout-red: #bd1b08;
  --checkout-border: #dedede;
  box-sizing: border-box;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 64px;
  color: #252525;
  font: 16px/1.5 "Segoe UI", Arial, sans-serif;
  overflow-wrap: anywhere;
}

.checkout-2026 *,
.checkout-2026 *::before,
.checkout-2026 *::after {
  box-sizing: border-box;
}

.checkout-2026 [hidden] {
  display: none !important;
}

.checkout-2026 h1,
.checkout-2026 h2,
.checkout-2026 h3,
.checkout-2026 p,
.checkout-2026 ul,
.checkout-2026 dl,
.checkout-2026 dd {
  margin: 0;
  padding: 0;
}

.checkout-2026 h1 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.checkout-2026 h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 16px;
}

#checkout-payment-title {
  scroll-margin-top: 16px;
}

.checkout-2026 h3 {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.checkout-2026 a {
  color: #a91a09;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkout-2026 :is(a, button, input, select, textarea, summary):focus-visible,
.checkout-skip:focus {
  outline: 3px solid #2464b2;
  outline-offset: 3px;
}

.checkout-2026 svg {
  display: inline-block;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  vertical-align: middle;
}

.checkout-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 24px;
}

.checkout-breadcrumb a,
.checkout-secure {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.checkout-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.checkout-secure {
  white-space: nowrap;
  font-size: 13px;
  color: #555;
  padding-top: 6px;
}

.checkout-mobile-overview {
  display: none;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(300px, 1fr);
  gap: 24px;
  align-items: start;
}

.checkout-form {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.checkout-panel {
  min-width: 0;
  border: 1px solid var(--checkout-border);
  background: #fff;
  padding: 24px;
}

.checkout-step {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  color: #fff;
  background: #303030;
  font-size: 14px;
}

.checkout-2026 .checkout-muted {
  color: #5c5c5c;
  font-size: 13px;
  line-height: 1.5;
}

.checkout-2026 .checkout-fieldset {
  min-width: 0;
  border: 0;
  margin: 20px 0 0;
  padding: 0;
}

.checkout-fieldset legend {
  padding: 0;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 650;
}

.checkout-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.checkout-fields--address {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.checkout-field--full {
  grid-column: 1 / -1;
}

.checkout-2026 .checkout-address-status:not(:empty),
.checkout-2026 .checkout-address-additions {
  margin-bottom: 14px;
}

.checkout-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  align-content: start;
  font-size: 14px;
  font-weight: 600;
}

.checkout-2026 .checkout-field :is(input, select, textarea) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 10px 11px;
  border: 1px solid #888;
  border-radius: 0;
  background: #fff;
  color: #252525;
  font: 400 16px/1.4 "Segoe UI", Arial, sans-serif;
}

.checkout-2026 .checkout-field textarea {
  resize: vertical;
}

.checkout-2026 .checkout-field [aria-invalid="true"] {
  border: 2px solid var(--checkout-red);
}

.checkout-2026 .checkout-field-error {
  color: #a91a09;
  font-size: 13px;
  font-weight: 400;
}

.checkout-business {
  border-block: 1px solid var(--checkout-border);
  padding: 14px 0;
  margin: 6px 0 0;
  font-size: 14px;
}

.checkout-2026 summary {
  cursor: pointer;
  min-height: 30px;
}

.checkout-business[open] > summary {
  margin-bottom: 12px;
}

.checkout-2026 .checkout-choices {
  display: grid;
  gap: 10px;
  margin-top: 0;
}

.checkout-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px 12px;
  border: 1px solid var(--checkout-border);
  cursor: pointer;
  line-height: 1.35;
}

.checkout-option:has(input:checked) {
  border-color: var(--checkout-red);
  background: #fff8f6;
  box-shadow: inset 3px 0 var(--checkout-red);
}

.checkout-option:has(input:disabled) {
  color: #666;
  background: #f6f6f6;
}

.checkout-2026 :is(input[type="radio"], input[type="checkbox"]) {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--checkout-red);
}

.checkout-option > span {
  min-width: 0;
}

/* Fixed logo space keeps differently shaped payment brands aligned. */
.checkout-payment-icon {
  display: grid;
  flex: 0 0 72px;
  place-items: center;
  width: 72px;
  height: 52px;
  border: 1px solid var(--checkout-border);
  border-radius: 4px;
  color: #243b55;
  background: #fff;
}

.checkout-payment-icon img {
  display: block;
  width: 64px;
  height: 44px;
  object-fit: contain;
}

.checkout-payment-icon svg {
  width: 22px;
  height: 22px;
}

.checkout-option strong,
.checkout-option small {
  display: block;
}

.checkout-option small {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
}

.checkout-option [data-payment-discount] {
  color: #17643b;
  font-weight: 700;
}

.checkout-summary {
  border-top: 3px solid var(--checkout-red);
  background: #fff;
}

@media (min-width: 900px) and (min-height: 520px) {
  .checkout-layout > .checkout-summary:has(.checkout-summary-action) {
    --checkout-summary-inset: calc(var(--cbnl-funnel-header-height, 12rem) + 16px);
    position: sticky;
    top: var(--checkout-summary-inset);
    max-height: calc(100vh - var(--checkout-summary-inset) - 16px);
    max-height: calc(100dvh - var(--checkout-summary-inset) - 16px);
    overflow-y: auto;
  }
}

.checkout-newsletter {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
  cursor: pointer;
}

.checkout-delivery-choice {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--checkout-border);
}

.checkout-2026 .checkout-vat-status {
  padding: 12px;
  border-left: 3px solid var(--checkout-red);
  background: #fff8f6;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.checkout-vat-status:empty {
  display: none;
}

.checkout-summary-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--checkout-border);
}

.checkout-summary-heading h2 {
  margin-bottom: 0;
}

.checkout-summary-edit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.checkout-summary-edit svg {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

.checkout-2026 .checkout-products {
  list-style: none;
  margin: 0 0 18px;
}

.checkout-products > li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid var(--checkout-border);
  font-size: 14px;
}

.checkout-product-info {
  min-width: 0;
}

.checkout-product-info strong {
  display: block;
  line-height: 1.4;
}

.checkout-quantity {
  color: #656565;
  white-space: nowrap;
}

.checkout-product-price {
  max-width: 112px;
  font-weight: 600;
  line-height: 1.4;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.checkout-components {
  margin-top: 6px;
  font-size: 13px;
}

.checkout-components li {
  margin: 6px 0;
}

.checkout-totals > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 10px;
  font-size: 14px;
}

.checkout-totals dd {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.checkout-totals > .checkout-grand-total {
  border-left: 3px solid var(--checkout-red);
  background: #f4f5f6;
  padding: 14px 12px;
  margin: 16px 0 0;
  font-size: 21px;
  font-weight: 700;
}

.checkout-2026 .checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  min-height: 46px;
  border: 1px solid var(--checkout-red);
  border-radius: 0;
  background: var(--checkout-red);
  color: #fff;
  padding: 12px 16px;
  font: 650 15px/1.4 "Segoe UI", Arial, sans-serif;
  text-decoration: none;
  text-align: center;
  white-space: normal;
  cursor: pointer;
}

.checkout-2026 .checkout-button:hover {
  background: #9e1707;
  border-color: #9e1707;
}

.checkout-2026 .checkout-button--secondary {
  background: #fff;
  color: #252525;
  border-color: #888;
}

.checkout-2026 .checkout-button--secondary:hover {
  background: #f5f5f5;
  border-color: #252525;
}

.checkout-2026 .checkout-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.checkout-summary .checkout-button {
  width: 100%;
  margin-top: 14px;
}

.checkout-summary-action {
  margin-top: 18px;
}

.checkout-summary-action > .checkout-muted:first-of-type {
  margin-bottom: 14px;
}

.checkout-conditions {
  padding: 14px;
  border: 1px solid var(--checkout-border);
  background: #f8f9fa;
}

.checkout-conditions label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}

.checkout-conditions input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--checkout-red);
}

.checkout-conditions input:focus-visible {
  outline: 2px solid var(--checkout-red);
  outline-offset: 2px;
}

.checkout-conditions .checkout-field-error {
  display: block;
  margin: 6px 0 0 30px;
}

.checkout-2026 .checkout-next-step {
  margin-top: 10px;
  font-size: 13px;
}

.checkout-summary-reassurance {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--checkout-border);
}

.checkout-summary .funnel-reassurance {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.checkout-2026 .checkout-terms {
  margin-top: 12px;
  font-size: 12px;
}

.checkout-2026 .checkout-submit-feedback:not(:empty),
.checkout-2026 #checkoutPreviewNotice:not(:empty) {
  margin-top: 12px;
}

@media (min-width: 900px) and (max-width: 1100px) {
  .checkout-summary-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

.checkout-notice {
  border-left: 4px solid var(--checkout-red);
  background: #fff4f1;
  padding: 16px;
  margin-bottom: 20px;
}

.checkout-status > p,
.checkout-fresh p,
.checkout-action-form p {
  margin-bottom: 16px;
}

.checkout-status-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  background: #fff0e7;
  color: #8e4300;
}

.checkout-status-icon--success {
  background: #eaf4ea;
  color: #246a27;
}

.checkout-actions {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.checkout-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  margin: 12px 0 16px;
}

.checkout-checkbox input {
  margin-top: 3px !important;
}

.checkout-fresh {
  border-top: 1px solid var(--checkout-border);
  margin-top: 24px;
  padding-top: 20px;
  font-size: 14px;
}

.checkout-2026 .checkout-help {
  margin: 24px 0 0;
  font-size: 14px;
}

.checkout-sr-only,
.checkout-skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.checkout-skip:focus {
  display: block;
  padding: 12px;
  background: #fff;
}

@media (max-width: 899px) {
  :is(#checkout-payment-title, #checkout-notes-title, [data-payment-notice]) {
    scroll-margin-top: calc(var(--cbnl-funnel-header-height, 12rem) + 16px);
  }

  .checkout-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .checkout-2026 .checkout-mobile-overview {
    display: block;
    margin-bottom: 16px;
    border: 1px solid var(--checkout-border);
    background: #fff;
    color: #252525;
    font-size: 14px;
    box-shadow: 0 4px 18px rgba(21, 29, 44, 0.05);
  }

  .checkout-mobile-overview > summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #f8f9fa;
    cursor: pointer;
    list-style: none;
  }

  .checkout-mobile-overview[open] > summary {
    border-bottom: 1px solid var(--checkout-border);
  }

  .checkout-mobile-overview > summary::-webkit-details-marker {
    display: none;
  }

  .checkout-mobile-overview > summary:focus-visible {
    outline: 2px solid var(--checkout-red);
    outline-offset: 2px;
  }

  .checkout-mobile-overview > summary span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .checkout-mobile-overview > summary span:first-child {
    display: grid;
    gap: 2px;
    min-width: 0;
    font-size: 12px;
    color: #5f6670;
  }

  .checkout-mobile-overview > summary span:first-child strong {
    color: #171f2c;
    font-size: 20px;
    line-height: 1.25;
  }

  .checkout-mobile-overview > summary span:last-child {
    color: #aa1b0b;
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
  }

  .checkout-mobile-overview strong {
    font-variant-numeric: tabular-nums;
  }

  .checkout-mobile-overview svg {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .checkout-mobile-overview[open] > summary svg {
    transform: rotate(90deg);
  }

  .checkout-mobile-details {
    padding: 16px 20px 20px;
    background: #fff;
  }

  .checkout-mobile-products {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
  }

  .checkout-mobile-products li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #e6e8eb;
  }

  .checkout-mobile-products li span {
    color: #69717d;
    font-variant-numeric: tabular-nums;
  }

  .checkout-mobile-products strong {
    min-width: 0;
    font-weight: 600;
    overflow-wrap: anywhere;
  }

  .checkout-mobile-details .checkout-totals { margin: 0; }

  .checkout-mobile-details .checkout-totals > div:not(.checkout-grand-total) {
    margin-bottom: 12px;
    color: #3f4752;
  }

  .checkout-mobile-details .checkout-grand-total {
    margin-top: 18px;
    padding: 14px 16px;
    background: #f6f7f8;
    font-size: 19px;
  }

  @media (prefers-reduced-motion: no-preference) {
    .checkout-mobile-overview svg {
      transition: transform 180ms ease;
    }

    .checkout-mobile-overview[open] .checkout-mobile-details {
      animation: checkout-overview-open 180ms ease-out;
    }
  }
}

@keyframes checkout-overview-open {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 599px) {
  .checkout-2026 {
    padding: 18px 12px 36px;
  }

  .checkout-2026 h1 {
    font-size: 27px;
  }

  .checkout-2026 h2 {
    font-size: 19px;
  }

  .checkout-heading {
    display: block;
    margin-bottom: 20px;
  }

  .checkout-secure {
    margin-top: 12px;
  }

  .checkout-panel {
    padding: 18px 14px;
  }

  .checkout-summary-heading {
    gap: 10px;
  }

  .checkout-summary-edit {
    max-width: 45%;
  }

  .checkout-product-price {
    max-width: 94px;
  }

  .checkout-fields {
    gap: 10px;
  }

  .checkout-fields--address {
    grid-template-columns: 1.15fr 1fr 1fr;
  }

  .checkout-field {
    font-size: 13px;
  }

  .checkout-option {
    gap: 10px;
    padding: 12px 10px;
  }

  .checkout-2026 .checkout-button {
    width: 100%;
  }

  .checkout-mobile-overview > summary { padding: 14px 16px; }
  .checkout-mobile-details { padding: 14px 16px 18px; }
}
