/* Checkout — retailer-style layout (inspired by clean electronics checkout flows) */

.checkout-body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: #f1f5f9;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
}

.checkout-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding: 14px 20px;
  padding-top: calc(14px + env(safe-area-inset-top));
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.checkout-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.checkout-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #0f172a;
}

.checkout-brand img {
  height: 40px;
  width: auto;
  display: block;
}

.checkout-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.checkout-brand-name {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.checkout-brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.checkout-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.checkout-secure-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #15803d;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  padding: 8px 14px;
  border-radius: 999px;
}

.checkout-secure-pill svg {
  flex-shrink: 0;
}

.checkout-back-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
}

.checkout-back-link:hover {
  color: #c62828;
}

.checkout-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 56px;
  padding-bottom: calc(56px + env(safe-area-inset-bottom));
}

.checkout-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 0.8rem;
  color: #64748b;
}

.checkout-progress-step {
  font-weight: 600;
  color: #0f172a;
}

.checkout-progress-sep {
  color: #cbd5e1;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 32px;
  align-items: start;
}

.checkout-panel {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
  padding: 28px 26px;
}

.checkout-panel-title {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.checkout-panel-lead {
  margin: 0 0 24px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #64748b;
}

.checkout-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.checkout-field {
  margin-bottom: 18px;
}

.checkout-field--full {
  grid-column: 1 / -1;
}

.checkout-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.checkout-field label .req {
  color: #94a3b8;
  font-weight: 500;
}

.checkout-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #0f172a;
  background: #fafafa;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.checkout-field input::placeholder {
  color: #94a3b8;
}

.checkout-field input:hover {
  border-color: #cbd5e1;
  background: #fff;
}

.checkout-field input:focus {
  outline: none;
  border-color: rgba(229, 57, 53, 0.45);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.12);
}

.checkout-error {
  color: #b91c1c;
  font-size: 0.88rem;
  margin: 0 0 16px;
  padding: 12px 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
}

.checkout-actions {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.checkout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: transform 0.12s ease, box-shadow 0.18s ease, filter 0.15s ease;
}

.checkout-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.checkout-btn--primary {
  width: 100%;
  background: linear-gradient(135deg, #e53935, #ef5350);
  color: #fff;
  box-shadow: 0 8px 28px rgba(229, 57, 53, 0.35);
}

.checkout-btn--primary:hover:not(:disabled) {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(229, 57, 53, 0.4);
}

.checkout-btn--secondary {
  background: #f8fafc;
  color: #334155;
  border: 1px solid #e2e8f0;
  padding: 10px 18px;
  font-size: 0.88rem;
}

.checkout-btn--secondary:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.checkout-payment-note {
  margin: 14px 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #64748b;
  text-align: center;
}

.checkout-payment-note strong {
  color: #475569;
  font-weight: 600;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Klarna / Clearpay: description + instalment line with no extra gap */
.checkout-pay-option-bnpl-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.4;
}

.checkout-pay-option-installment {
  display: block;
  margin: 0;
}

.checkout-installment-amount {
  font-weight: 700;
  color: #334155;
}

.checkout-pay-fieldset {
  margin: 20px 0 0;
  padding: 0;
  border: none;
  min-width: 0;
}

.checkout-pay-legend {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  padding: 0;
}

.checkout-pay-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-pay-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid rgba(15, 23, 42, 0.1);
  background: #f8fafc;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.checkout-pay-option:hover {
  border-color: rgba(15, 23, 42, 0.18);
  background: #fff;
}

.checkout-pay-option:has(input:checked) {
  border-color: #e53935;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(229, 57, 53, 0.12);
}

.checkout-pay-option input {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: #e53935;
}

.checkout-pay-option-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.checkout-pay-option-title {
  font-weight: 600;
  font-size: 0.92rem;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.checkout-pay-option-title--klarna {
  gap: 8px;
}

.checkout-pay-klarna-mark {
  display: block;
  height: 20px;
  width: auto;
  flex-shrink: 0;
}

.checkout-pay-option--klarna:has(input:checked) {
  border-color: #0b0b0b;
  box-shadow: 0 0 0 1px rgba(255, 179, 199, 0.6);
}

.checkout-pay-clearpay-mark {
  display: block;
  height: 22px;
  width: auto;
  flex-shrink: 0;
}

.checkout-pay-option--clearpay:has(input:checked) {
  border-color: #2f2f2f;
  box-shadow: 0 0 0 1px rgba(184, 244, 66, 0.45);
}

.checkout-pay-option-desc {
  font-size: 0.8rem;
  line-height: 1.4;
  color: #64748b;
}

.checkout-card-brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 8px;
}

.checkout-card-brand-img {
  display: block;
  height: 22px;
  width: auto;
  max-height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.checkout-card-brand-img--wide {
  max-height: 22px;
  height: 22px;
}

/* Order summary (sidebar) */
.checkout-sidebar {
  position: sticky;
  top: 88px;
}

.checkout-summary-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  padding: 22px 20px;
  overflow: hidden;
}

.checkout-summary-title {
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.checkout-cart-empty {
  color: #64748b;
  text-align: center;
  padding: 28px 16px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.checkout-cart-empty a {
  color: #c62828;
  font-weight: 600;
  text-decoration: none;
}

.checkout-cart-empty a:hover {
  text-decoration: underline;
}

.checkout-basket-box {
  margin: 0 0 18px;
  padding: 14px 14px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.checkout-basket-box-title {
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0f172a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.checkout-basket-box-items .checkout-item-row:first-child {
  padding-top: 4px;
}

.checkout-basket-box-items .checkout-item-row:last-of-type {
  padding-bottom: 4px;
}

.checkout-item-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px 16px;
  padding: 14px 0;
  border-bottom: 2px solid #0f172a;
}

.checkout-item-main {
  flex: 1 1 0;
  min-width: 0;
}

.checkout-item-row:last-of-type {
  border-bottom: none;
}

.checkout-item-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: #0f172a;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.checkout-item-meta {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.checkout-item-details {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 8px;
  max-width: 100%;
}

.checkout-item-detail {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
}

.checkout-item-detail-k {
  font-weight: 600;
  color: #475569;
  margin-right: 4px;
}

.checkout-item-detail-k::after {
  content: ":";
}

.checkout-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex: 0 1 auto;
  max-width: min(100%, 220px);
  font-weight: 600;
  font-size: 0.92rem;
  color: #0f172a;
}

.checkout-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  width: 100%;
}

.checkout-item-qty-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
}

.checkout-item-qty-label-text {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.68rem;
}

.checkout-item-qty-input {
  width: 52px;
  padding: 6px 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  text-align: center;
  line-height: 1.2;
}

.checkout-item-qty-input:focus {
  outline: none;
  border-color: #94a3b8;
  box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.25);
}

.checkout-item-qty-readonly {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  min-width: 1.5em;
  text-align: right;
}

.checkout-item-line-total {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
  white-space: nowrap;
}

.checkout-item-remove {
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  align-self: stretch;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
}

.checkout-item-remove:hover {
  color: #b91c1c;
  border-color: #fecaca;
  background: #fef2f2;
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 0.9rem;
  color: #475569;
}

.checkout-total span:last-child {
  font-weight: 600;
  color: #0f172a;
}

.checkout-grand-total {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 2px solid #e2e8f0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.checkout-grand-total span:last-child {
  font-size: 1.2rem;
  color: #c62828;
}

.checkout-discount-line span:last-child {
  color: #059669;
}

.checkout-discount-wrap {
  padding: 16px 0 18px;
  margin-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.checkout-discount-policy {
  margin: 0 0 12px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #64748b;
}

.checkout-discount-wrap label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 10px;
}

.checkout-discount-applied-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 4px;
}

.checkout-discount-applied-row[hidden] {
  display: none !important;
}

.checkout-discount-applied-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

.checkout-discount-remove {
  flex-shrink: 0;
}

.checkout-discount-row {
  display: flex;
  gap: 10px;
}

.checkout-discount-row input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.95rem;
  background: #fafafa;
  box-sizing: border-box;
}

.checkout-discount-row input:focus {
  outline: none;
  border-color: rgba(229, 57, 53, 0.45);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

.checkout-discount-message {
  margin: 10px 0 0;
  font-size: 0.85rem;
  line-height: 1.45;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: #f8fafc;
  display: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.checkout-discount-message.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.checkout-discount-message::before {
  font-weight: 700;
  margin-right: 8px;
}

.checkout-discount-message.success {
  color: #065f46;
  border-color: #6ee7b7;
  background: linear-gradient(180deg, #ecfdf5, #f0fdf4);
}

.checkout-discount-message.success::before {
  content: "✓";
}

.checkout-discount-message.error {
  color: #991b1b;
  border-color: #fca5a5;
  background: linear-gradient(180deg, #fff1f2, #fef2f2);
}

.checkout-discount-message.error::before {
  content: "!";
}

.checkout-discount-message.info {
  color: #1e3a8a;
  border-color: #93c5fd;
  background: linear-gradient(180deg, #eff6ff, #dbeafe);
}

.checkout-discount-message.info::before {
  content: "i";
}

.checkout-discount-min-hint {
  margin: 8px 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #475569;
}

.checkout-discount-min-hint.checkout-discount-min-hint--ok {
  color: #047857;
}

.checkout-discount-min-hint.checkout-discount-min-hint--warn {
  color: #b45309;
}

.checkout-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.75rem;
  color: #64748b;
}

.checkout-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.checkout-info-notice {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  border-radius: 12px;
  padding: 14px 18px;
  margin: 0 0 24px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.checkout-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
  max-width: 480px;
  margin: 0 auto;
}

.checkout-success.visible {
  display: block;
}

.checkout-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.checkout-success h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
}

.checkout-success p {
  margin: 0 0 28px;
  color: #64748b;
  line-height: 1.55;
  font-size: 0.95rem;
}

.checkout-success .checkout-btn--primary {
  width: auto;
  min-width: 200px;
}

@media (max-width: 900px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .checkout-sidebar {
    position: static;
    order: -1;
  }

  .checkout-shell {
    padding-top: 20px;
  }
}

@media (max-width: 560px) {
  .checkout-field-grid {
    grid-template-columns: 1fr;
  }

  .checkout-panel {
    padding: 22px 18px;
  }

  .checkout-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .checkout-discount-row {
    flex-direction: column;
  }

  .checkout-item-row {
    flex-wrap: wrap;
  }

  .checkout-item-right {
    width: 100%;
    max-width: none;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .checkout-item-controls {
    flex: 1 1 auto;
    justify-content: flex-start;
    min-width: 0;
  }

  .checkout-item-remove {
    flex: 0 0 auto;
    align-self: center;
    width: auto;
  }
}

@media (max-width: 480px) {
  .checkout-field input,
  .checkout-discount-row input {
    font-size: 16px; /* iOS zoom */
  }
}

/* Additional responsive hardening */
@media (max-width: 768px) {
  .checkout-shell {
    padding: 20px 14px 42px;
    padding-bottom: calc(42px + env(safe-area-inset-bottom));
  }

  .checkout-header-inner {
    align-items: flex-start;
  }

  .checkout-header-right {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .checkout-secure-pill {
    flex: 1 1 auto;
    justify-content: center;
  }

  .checkout-back-link {
    align-self: center;
  }

  .checkout-panel,
  .checkout-summary-card {
    border-radius: 14px;
  }

  .checkout-item-right {
    max-width: min(100%, 200px);
  }
}

@media (max-width: 480px) {
  .checkout-header {
    padding-left: 12px;
    padding-right: 12px;
  }

  .checkout-brand img {
    height: 34px;
  }

  .checkout-brand-sub {
    display: none;
  }

  .checkout-shell {
    padding-left: 10px;
    padding-right: 10px;
  }

  .checkout-panel,
  .checkout-summary-card {
    padding: 16px 14px;
  }

  .checkout-success .checkout-btn--primary {
    min-width: 0;
    width: 100%;
  }
}

/* Final phone-size polish pass */
@media (max-width: 430px) {
  .checkout-header-right {
    width: 100%;
    flex-wrap: wrap;
    justify-content: stretch;
    gap: 8px;
  }

  .checkout-secure-pill,
  .checkout-back-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .checkout-discount-row {
    gap: 8px;
  }

  .checkout-discount-row .checkout-btn {
    width: 100%;
  }

  .checkout-item-row {
    gap: 8px;
  }

  .checkout-item-right {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .checkout-field label {
    font-size: 0.82rem;
  }
}

/* Remove-from-basket toast (checkout page — mirrors shop “added” toast, red) */
.checkout-remove-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 10050;
  max-width: min(420px, calc(100vw - 32px));
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%) translateY(-16px) scale(0.98);
  transition:
    opacity 0.28s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.checkout-remove-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}

.checkout-remove-toast--out {
  opacity: 0;
  transform: translateX(-50%) translateY(-12px) scale(0.98);
  pointer-events: none;
}

.checkout-remove-toast-inner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 12px;
  background: #fef2f2;
  border: 1px solid rgba(185, 28, 28, 0.35);
  box-shadow:
    0 4px 6px -1px rgba(127, 29, 29, 0.12),
    0 10px 24px -6px rgba(127, 29, 29, 0.18);
}

.checkout-remove-toast-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-remove-toast-copy {
  min-width: 0;
  flex: 1;
}

.checkout-remove-toast-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #991b1b;
  margin: 0 0 4px;
}

.checkout-remove-toast-product {
  margin: 0;
  font-size: 0.8rem;
  color: #7f1d1d;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 480px) {
  .checkout-remove-toast {
    top: auto;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    left: max(16px, env(safe-area-inset-left, 0px));
    right: max(16px, env(safe-area-inset-right, 0px));
    max-width: none;
    transform: translateY(calc(100% + 32px));
  }

  .checkout-remove-toast--visible {
    transform: translateY(0);
  }

  .checkout-remove-toast--out {
    transform: translateY(calc(100% + 32px));
  }
}
