.checkout-wrap {
      padding: 2.2rem 0 3rem;
    }
    .checkout-grid {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 1.4rem;
      align-items: start;
    }
    .checkout-card {
      background: #fff;
      border: 1px solid rgba(148, 163, 184, 0.35);
      border-radius: 20px;
      box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
      padding: 1.2rem;
    }
    .checkout-title {
      margin: 0 0 0.6rem;
      font-size: 1.65rem;
      letter-spacing: -0.02em;
    }
    .checkout-muted {
      margin: 0 0 1rem;
      color: var(--muted);
    }
    .checkout-items {
      display: grid;
      gap: 0.65rem;
      margin-top: 0.8rem;
    }
    .checkout-line {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      column-gap: 0.9rem;
      border: 1px solid rgba(148, 163, 184, 0.25);
      border-radius: 16px;
      padding: 0.8rem 0.85rem;
      background: rgba(248, 250, 252, 0.9);
    }
    .checkout-left {
      min-width: 0;
    }
    .checkout-line-link {
      display: block;
      font-weight: 900;
      color: var(--text);
      text-decoration: none;
      line-height: 1.15;
    }
    .checkout-line-link:hover {
      text-decoration: underline;
    }
    .checkout-line-meta {
      display: block;
      margin-top: 0.25rem;
      color: var(--muted);
      line-height: 1.25;
    }
    .checkout-line small {
      color: var(--muted);
    }
    .checkout-controls {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 0.55rem;
      flex-wrap: nowrap;
      white-space: nowrap;
    }
    .checkout-controls > strong {
      display: inline-block;
      margin: 0;
      white-space: nowrap;
      font-size: clamp(0.9rem, 1.35vw, 0.98rem);
      letter-spacing: -0.02em;
      font-weight: 900;
    }
    .qty-group {
      display: inline-flex;
      align-items: center;
      gap: 0.25rem;
    }
    .qty-btn {
      width: 2rem;
      height: 2rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.55);
      background: #fff;
      padding: 0;
      font-weight: 900;
      font-size: 1rem;
      line-height: 1;
      cursor: pointer;
      box-sizing: border-box;
      -webkit-appearance: none;
      appearance: none;
      user-select: none;
    }
    .qty-pill {
      min-width: 1.55rem;
      height: 2rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      font-weight: 800;
      font-size: 0.95rem;
    }
    .remove-btn {
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.55);
      background: #fff;
      padding: 0.22rem 0.55rem;
      cursor: pointer;
      font-weight: 800;
      font-size: 0.92rem;
    }
    .checkout-total {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 1rem;
      padding-top: 0.9rem;
      border-top: 1px solid rgba(148, 163, 184, 0.35);
      font-size: 1.05rem;
    }
    .checkout-empty {
      border: 1px dashed rgba(148, 163, 184, 0.7);
      border-radius: 16px;
      padding: 1rem;
      color: var(--muted);
      background: rgba(248, 250, 252, 0.65);
    }
    .checkout-form .cart-form-group {
      margin-bottom: 0.75rem;
    }
    .checkout-form input,
    .checkout-form textarea {
      width: 100%;
      border-radius: 14px;
      border: 1px solid rgba(148, 163, 184, 0.55);
      padding: 0.75rem 0.85rem;
      font: inherit;
      background: #fff;
    }
    .checkout-form textarea {
      min-height: 110px;
      resize: vertical;
    }
    .checkout-form label {
      font-weight: 800;
      display: block;
      margin-bottom: 0.35rem;
    }
    .checkout-btn {
      width: 100%;
    }
    @media (max-width: 900px) {
      .checkout-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    @media (max-width: 520px) {
      .checkout-line {
        grid-template-columns: 1fr;
        row-gap: 0.65rem;
      }
      .checkout-controls {
        justify-content: start;
      }
    }


    .checkout-privacy {
      margin: 0.9rem 0 1rem;
      padding: 0.95rem 1rem;
      border-radius: 18px;
      border: 1px solid var(--border);
      background: rgba(255, 255, 255, 0.65);
      color: var(--muted);
      font-size: 0.92rem;
      line-height: 1.35;
    }
    .checkout-privacy strong {
      display: inline-block;
      margin-bottom: 0.25rem;
      color: var(--text);
    }
    .checkout-privacy p {
      margin: 0;
    }
    .checkout-privacy a {
      color: var(--primary);
      font-weight: 700;
      text-decoration: none;
    }
    .checkout-privacy a:hover {
      text-decoration: underline;
    }
