/* NOREM - koszyk i finalizacja zamówienia. Wspólne style pozostają w styles.css. */

.cart-page {
  --cart-panel: #fff;
  --cart-warm: #f7f4f0;
  --cart-warm-strong: #f1ede8;
  --cart-danger: #a33b35;
  --cart-success: #187a58;
}

.cart-page .main-nav {
  gap: 38px;
  transform: translateX(-64px);
}

.cart-page .main-nav a:first-child::after {
  display: none;
}

.cart-page .header-action--cart[aria-current="page"] {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.cart-main {
  background: var(--page);
}

.cart-intro {
  padding-block: 62px 38px;
}

.cart-intro__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
}

.cart-kicker {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.cart-intro h1 {
  font-size: clamp(42px, 4.3vw, 62px);
  line-height: 1;
}

.cart-intro__inner > div > p:last-child {
  max-width: 54ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.cart-back-link {
  min-height: 44px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  padding-block: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
  transition:
    color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.cart-back-link svg {
  width: 17px;
  height: 17px;
  transition: transform 0.2s var(--ease);
}

.cart-back-link:hover {
  color: var(--blue);
}

.cart-back-link:hover svg {
  transform: translateX(-3px);
}

.cart-checkout {
  padding-bottom: 70px;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(370px, 0.8fr);
  align-items: start;
  gap: clamp(20px, 3vw, 42px);
}

.cart-layout[hidden],
.cart-empty[hidden],
.mobile-checkout-bar[hidden] {
  display: none !important;
}

.mobile-product {
  display: none;
}

/* Formularz */
.checkout-form {
  min-width: 0;
  padding: clamp(26px, 3.3vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cart-panel);
  box-shadow: var(--shadow);
}

.checkout-step {
  min-width: 0;
  margin: 0;
  padding: 0 0 38px;
  border: 0;
}

.checkout-step + .checkout-step {
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.checkout-step__header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0 0 26px;
  padding: 0;
}

.checkout-step__header > span:first-child {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
}

.checkout-step__header h2,
.checkout-step__header > span:last-child > strong {
  display: block;
  color: var(--ink);
  font-size: 27px;
  font-weight: 680;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.checkout-step__header p,
.checkout-step__header > span:last-child > small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 450;
  line-height: 1.45;
}

.form-grid {
  display: grid;
  gap: 18px 20px;
}

.form-grid--two,
.form-grid--address {
  grid-template-columns: 1fr 1fr;
}

.form-grid__wide {
  grid-column: 1 / -1;
}

.field {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.field label span {
  color: var(--muted);
  font-weight: 450;
}

.field input,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background-color 0.2s var(--ease);
}

.field input::placeholder {
  color: #747d85;
  opacity: 1;
}

.field input:hover,
.field select:hover {
  border-color: #b8bdc1;
}

.field input:focus,
.field select:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 123, 199, 0.13);
}

.field input[aria-invalid="true"] {
  border-color: var(--cart-danger);
  background: #fffafa;
}

.field-error {
  min-height: 0;
  color: var(--cart-danger);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.field-error:empty {
  display: none;
}

/* Opcje dostawy i płatności */
.delivery-option,
.payment-option {
  position: relative;
  min-width: 0;
  min-height: 76px;
  display: grid;
  grid-template-columns: 22px 46px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 0.2s var(--ease),
    background-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.delivery-option:hover,
.payment-option:hover {
  border-color: #aeb7c0;
  background: #fcfcfb;
}

.delivery-option:active,
.payment-option:active {
  transform: translateY(1px);
}

.delivery-option > input,
.payment-option > input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.delivery-option:has(input:checked),
.payment-option:has(input:checked) {
  border-color: #607c98;
  background: #f9fbfd;
  box-shadow: inset 0 0 0 1px rgba(96, 124, 152, 0.2);
}

.delivery-option:has(input:focus-visible),
.payment-option:has(input:focus-visible) {
  outline: 3px solid rgba(47, 123, 199, 0.35);
  outline-offset: 3px;
}

.option-radio {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1.5px solid #aab0b5;
  border-radius: 50%;
}

.option-radio::after {
  content: "";
  width: 10px;
  height: 10px;
  transform: scale(0);
  border-radius: 50%;
  background: var(--ink);
  transition: transform 0.18s var(--ease);
}

input:checked + .option-radio {
  border-color: var(--ink);
}

input:checked + .option-radio::after {
  transform: scale(1);
}

.option-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cart-warm);
}

.option-icon svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.45;
}

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

.option-copy strong {
  font-size: 15px;
}

.option-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.delivery-option > strong {
  font-size: 14px;
}

.option-check {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  stroke-width: 2.2;
}

.checkout-payment {
  padding-bottom: 0;
}

.payment-options {
  display: grid;
  gap: 9px;
}

.payment-option {
  grid-template-columns: 22px 46px minmax(0, 1fr) auto;
}

.payment-logos {
  display: flex;
  align-items: center;
  gap: 7px;
}

.payment-logos img,
.payment-logo-single {
  width: auto;
  height: 25px;
  object-fit: contain;
}

.payment-logos img:nth-child(2) {
  width: 36px;
}

.payment-logos img:nth-child(3) {
  width: 40px;
}

.payment-logo-single {
  width: 54px;
}

.payment-error {
  margin-top: 8px;
}

.checkout-consent {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.checkout-consent label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}

.checkout-consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.checkout-consent label > span:first-of-type {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: grid;
  place-items: center;
  border: 1px solid #aab0b5;
  border-radius: 5px;
  background: #fff;
}

.checkout-consent label > span:first-of-type svg {
  width: 15px;
  height: 15px;
  opacity: 0;
  stroke-width: 2.4;
}

.checkout-consent input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.checkout-consent input:checked + span svg {
  opacity: 1;
}

.checkout-consent input:focus-visible + span {
  outline: 3px solid rgba(47, 123, 199, 0.35);
  outline-offset: 3px;
}

.checkout-consent a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkout-consent .field-error {
  margin: 7px 0 0 34px;
}

.checkout-security {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
}

.checkout-security svg {
  width: 16px;
  height: 16px;
}

/* Podsumowanie */
.order-summary {
  position: sticky;
  top: 104px;
  min-width: 0;
  padding: clamp(24px, 2.7vw, 38px);
  border-radius: var(--radius);
  background: var(--cart-warm);
  box-shadow: 0 16px 44px rgba(32, 25, 20, 0.06);
}

.order-summary > h2 {
  font-size: 29px;
}

.summary-product-image {
  min-height: 220px;
  display: grid;
  place-items: center;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
}

.summary-product-image img {
  width: 90%;
  height: 220px;
  object-fit: contain;
}

.summary-product {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
}

.summary-product h3 {
  font-size: 18px;
  line-height: 1.25;
}

.summary-product p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.summary-product > strong {
  flex: 0 0 auto;
  font-size: 17px;
  white-space: nowrap;
}

.summary-product-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

.cart-quantity {
  min-height: 42px;
  display: inline-grid;
  grid-template-columns: 42px 42px 42px;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #fff;
}

.cart-quantity button,
.cart-quantity output {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
}

.cart-quantity button {
  transition:
    background-color 0.2s var(--ease),
    opacity 0.2s var(--ease);
}

.cart-quantity button:hover:not(:disabled) {
  background: var(--surface-soft);
}

.cart-quantity button:disabled {
  opacity: 0.35;
}

.cart-quantity button svg {
  width: 16px;
  height: 16px;
}

.cart-quantity output {
  border-inline: 1px solid var(--line);
  font-size: 14px;
  font-weight: 750;
}

.remove-product {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 4px;
  border: 0;
  background: transparent;
  color: var(--cart-danger);
  font-size: 13px;
  font-weight: 700;
}

.remove-product svg {
  width: 17px;
  height: 17px;
}

.summary-totals {
  margin: 26px 0 0;
  border-top: 1px solid #ded9d3;
}

.summary-totals > p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 17px;
  color: var(--ink-soft);
  font-size: 13px;
}

.summary-totals > p + p {
  border-top: 1px solid #ded9d3;
}

.summary-totals > p > strong {
  font-weight: 700;
}

.summary-totals .summary-total {
  color: var(--ink);
  font-size: 19px;
  font-weight: 750;
}

.summary-total small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.summary-total > strong {
  font-size: 25px;
  letter-spacing: -0.03em;
}

.summary-benefits {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  padding: 22px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.52);
}

.summary-benefits li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
}

.summary-benefits li > svg {
  width: 27px;
  height: 27px;
  stroke-width: 1.4;
}

.summary-benefits strong,
.summary-benefits small {
  display: block;
}

.summary-benefits strong {
  font-size: 13px;
}

.summary-benefits small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.checkout-submit,
.mobile-checkout-bar button {
  width: 100%;
  min-height: 60px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 14px 18px;
  border: 0;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  text-align: left;
  transition:
    background-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.checkout-submit:hover,
.mobile-checkout-bar button:hover {
  background: #10283d;
}

.checkout-submit:active,
.mobile-checkout-bar button:active {
  transform: translateY(1px);
}

.checkout-submit svg,
.mobile-checkout-bar button svg {
  width: 20px;
  height: 20px;
}

.checkout-submit > svg:last-child,
.mobile-checkout-bar button > svg:last-child {
  width: 17px;
  height: 17px;
  transition: transform 0.2s var(--ease);
}

.checkout-submit:hover > svg:last-child,
.mobile-checkout-bar button:hover > svg:last-child {
  transform: translateX(3px);
}

.checkout-submit strong,
.mobile-checkout-bar strong {
  white-space: nowrap;
}

.summary-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 12px;
}

.summary-security svg {
  width: 15px;
  height: 15px;
}

.checkout-status {
  margin-top: 14px;
  color: var(--cart-success);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
  text-align: center;
}

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

.checkout-status[data-state="error"],
.mobile-checkout-status[data-state="error"] {
  color: var(--cart-danger);
}

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

/* Stan pusty */
.cart-empty {
  min-height: 480px;
  display: grid;
  place-items: center;
  align-content: center;
  padding-block: 80px;
  text-align: center;
}

.cart-empty__icon {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cart-warm);
}

.cart-empty__icon svg {
  width: 38px;
  height: 38px;
  stroke-width: 1.35;
}

.cart-empty h2 {
  margin-top: 24px;
  font-size: 38px;
}

.cart-empty p {
  max-width: 52ch;
  margin-top: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.cart-empty .btn {
  margin-top: 26px;
}

/* Końcowy blok zaufania, bez górnego paska z projektu */
.cart-assurance {
  padding-bottom: 78px;
}

.cart-assurance__inner {
  min-height: 128px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  margin-inline: auto;
  padding: 26px 42px;
  border-radius: 14px;
  background: var(--cart-warm);
}

.cart-assurance li {
  min-height: 68px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding-inline: 34px;
}

.cart-assurance li + li {
  border-left: 1px solid #ddd8d1;
}

.cart-assurance li > svg {
  width: 39px;
  height: 39px;
  stroke-width: 1.35;
}

.cart-assurance strong,
.cart-assurance small {
  display: block;
}

.cart-assurance strong {
  font-size: 14px;
}

.cart-assurance small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

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

.cart-footer {
  border-top: 1px solid var(--line);
}

@media (max-width: 1180px) {
  .cart-page .main-nav {
    gap: 26px;
    transform: translateX(-20px);
  }

  .cart-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  }

  .checkout-form {
    padding: 30px;
  }

  .cart-assurance__inner {
    padding-inline: 20px;
  }

  .cart-assurance li {
    padding-inline: 20px;
  }
}

@media (max-width: 1080px) and (min-width: 761px) {
  .cart-page .main-nav {
    gap: 20px;
    transform: none;
  }

  .cart-page .header-action {
    width: 42px;
    padding-inline: 0;
  }

  .cart-page .header-action > span:not(.cart-count) {
    display: none;
  }
}

@media (max-width: 940px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
  }

  .summary-product-image {
    min-height: 260px;
  }

  .summary-product-image img {
    height: 260px;
  }

  .cart-assurance__inner {
    grid-template-columns: 1fr;
    padding: 14px 26px;
  }

  .cart-assurance li {
    min-height: 92px;
    padding-inline: 6px;
  }

  .cart-assurance li + li {
    border-top: 1px solid #ddd8d1;
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .cart-page {
    padding-bottom: 94px;
  }

  .cart-page .main-nav {
    gap: 4px;
    transform: translateY(-8px);
  }

  .cart-intro {
    padding-block: 34px 24px;
  }

  .cart-intro__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .cart-kicker,
  .cart-intro__inner > div > p:last-child {
    display: none;
  }

  .cart-intro h1 {
    font-size: 35px;
  }

  .cart-back-link {
    font-size: 13px;
  }

  .cart-checkout {
    padding-bottom: 44px;
  }

  .cart-layout {
    gap: 24px;
  }

  .mobile-product {
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
  }

  .mobile-product summary {
    min-height: 112px;
    display: grid;
    grid-template-columns: 98px minmax(0, 1fr) auto 18px;
    align-items: center;
    gap: 12px;
    padding: 12px;
    cursor: pointer;
    list-style: none;
  }

  .mobile-product summary::-webkit-details-marker {
    display: none;
  }

  .mobile-product__image {
    height: 80px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 9px;
    background: var(--cart-warm);
  }

  .mobile-product__image img {
    width: 96px;
    height: 76px;
    object-fit: contain;
  }

  .mobile-product__name strong,
  .mobile-product__name small {
    display: block;
  }

  .mobile-product__name strong {
    font-size: 16px;
  }

  .mobile-product__name small {
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
  }

  .mobile-product__price {
    font-size: 15px;
    white-space: nowrap;
  }

  .mobile-product summary > svg {
    width: 17px;
    height: 17px;
    transition: transform 0.2s var(--ease);
  }

  .mobile-product[open] summary > svg {
    transform: rotate(180deg);
  }

  .mobile-product__details {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 14px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
  }

  .mobile-remove {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 2px;
    border: 0;
    background: transparent;
    color: var(--cart-danger);
    font-size: 12px;
    font-weight: 700;
  }

  .mobile-remove svg {
    width: 16px;
    height: 16px;
  }

  .checkout-form {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .checkout-step {
    padding-bottom: 30px;
  }

  .checkout-step + .checkout-step {
    padding-top: 30px;
  }

  .checkout-step__header {
    align-items: center;
    gap: 13px;
    margin-bottom: 20px;
  }

  .checkout-step__header > span:first-child {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    background: #c8cbce;
  }

  .checkout-step__header h2,
  .checkout-step__header > span:last-child > strong {
    font-size: 24px;
  }

  .checkout-step__header p,
  .checkout-step__header > span:last-child > small {
    display: none;
  }

  .form-grid--two,
  .form-grid--address {
    grid-template-columns: 1fr;
  }

  .form-grid__wide {
    grid-column: auto;
  }

  .field input,
  .field select {
    min-height: 54px;
  }

  .form-grid--address .field:nth-child(2),
  .form-grid--address .field:nth-child(3) {
    grid-column: auto;
  }

  .delivery-option,
  .payment-option {
    min-height: 74px;
    grid-template-columns: 22px 42px minmax(0, 1fr) auto;
    gap: 11px;
    padding: 12px;
  }

  .delivery-option .option-check {
    display: none;
  }

  .option-icon {
    width: 42px;
    height: 42px;
  }

  .option-icon svg {
    width: 23px;
    height: 23px;
  }

  .payment-option .option-copy small {
    display: none;
  }

  .payment-logos img {
    height: 21px;
  }

  .payment-logos img:nth-child(2) {
    width: 31px;
  }

  .payment-logos img:nth-child(3) {
    width: 35px;
  }

  .order-summary {
    display: none;
  }

  .checkout-security {
    margin-bottom: 4px;
  }

  .mobile-checkout-status {
    display: block;
    margin-top: 12px;
    color: var(--cart-success);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.5;
  }

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

  .cart-assurance {
    padding-bottom: 30px;
  }

  .cart-assurance__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 20px 10px;
  }

  .cart-assurance li {
    min-height: 90px;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 8px;
    padding: 0 10px;
    text-align: center;
  }

  .cart-assurance li + li {
    border-top: 0;
    border-left: 1px solid #ddd8d1;
  }

  .cart-assurance li > svg {
    width: 28px;
    height: 28px;
    margin: 0 auto;
  }

  .cart-assurance strong {
    font-size: 11px;
  }

  .cart-assurance small {
    font-size: 10px;
  }

  .mobile-checkout-bar {
    position: fixed;
    z-index: 18;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .mobile-checkout-bar button {
    min-height: 58px;
    margin: 0;
  }

  .cart-footer {
    padding-bottom: 18px;
  }
}

@media (max-width: 620px) {
  .cart-intro__inner,
  .cart-layout {
    padding-inline: 16px;
  }

  .cart-intro h1 {
    font-size: 31px;
  }

  .mobile-product summary {
    grid-template-columns: 86px minmax(0, 1fr) auto 16px;
    gap: 9px;
    padding: 10px;
  }

  .mobile-product__image img {
    width: 84px;
  }

  .mobile-product__name strong {
    font-size: 15px;
  }

  .mobile-product__name small {
    font-size: 11px;
  }

  .mobile-product__price {
    font-size: 14px;
  }

  .form-grid {
    gap: 16px;
  }

  .checkout-step__header h2,
  .checkout-step__header > span:last-child > strong {
    font-size: 22px;
  }

  .payment-option {
    grid-template-columns: 20px 38px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .option-copy strong {
    font-size: 14px;
  }

  .payment-logos {
    gap: 4px;
  }

  .payment-logos img {
    height: 18px;
  }

  .payment-logos img:nth-child(2) {
    width: 27px;
  }

  .payment-logos img:nth-child(3) {
    width: 30px;
  }

  .cart-assurance__inner {
    width: calc(100% - 24px);
  }

  .mobile-checkout-bar {
    padding-inline: 12px;
  }

  .mobile-checkout-bar button {
    grid-template-columns: 20px minmax(0, 1fr) auto 16px;
    gap: 8px;
    padding-inline: 14px;
    font-size: 14px;
  }
}

@media (max-width: 390px) {
  .cart-intro__inner,
  .cart-layout {
    padding-inline: 12px;
  }

  .mobile-product summary {
    grid-template-columns: 72px minmax(0, 1fr) 16px;
  }

  .mobile-product__price {
    grid-row: 2;
    grid-column: 2;
  }

  .mobile-product summary > svg {
    grid-row: 1 / span 2;
    grid-column: 3;
  }

  .payment-option {
    grid-template-columns: 20px 34px minmax(0, 1fr);
  }

  .payment-logos,
  .payment-logo-single {
    grid-column: 3;
    justify-self: start;
  }

  .cart-assurance small {
    display: none;
  }

  .mobile-checkout-bar button {
    grid-template-columns: 20px minmax(0, 1fr) auto;
  }

  .mobile-checkout-bar button > svg:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cart-back-link,
  .cart-back-link svg,
  .field input,
  .field select,
  .delivery-option,
  .payment-option,
  .option-radio::after,
  .cart-quantity button,
  .checkout-submit,
  .checkout-submit > svg:last-child,
  .mobile-product summary > svg,
  .mobile-checkout-bar button,
  .mobile-checkout-bar button > svg:last-child {
    transition: none;
  }
}
