* {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: Arial, sans-serif;
      background: #f6f6f6;
      color: #111;
    }

    .checkout-section {
      padding: 50px 0;
    }

    .checkout-container {
      width: 92%;
      max-width: 1450px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
      align-items: start;
    }

    .checkout-left,
    .checkout-right {
      background: #fff;
      border-radius: 20px;
      padding: 28px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    }

    .checkout-left h2,
    .checkout-right h2 {
      margin: 0 0 24px;
      font-size: 30px;
    }

    .form-instruction {
      font-size: 14px;
      font-style: italic;
      color: #f01b1b;
      margin-top: -12px;
      margin-bottom: 18px;
    }

    .checkout-cart-item {
      display: flex;
      gap: 16px;
      align-items: flex-start;
      border-bottom: 1px solid #eee;
      padding: 18px 0;
    }

    .checkout-cart-item img {
      width: 92px;
      height: 92px;
      object-fit: contain;
      background: #f5f5f5;
      border-radius: 12px;
      flex-shrink: 0;
    }

    .checkout-cart-info {
      flex: 1;
    }

    .checkout-cart-info h4 {
      margin: 0 0 8px;
      font-size: 18px;
    }

    .checkout-cart-info small {
      display: block;
      color: #666;
      margin-bottom: 10px;
    }

    .checkout-cart-actions {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 10px;
    }

    .qty-control {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      border: 1px solid #ddd;
      border-radius: 10px;
      padding: 4px 8px;
    }

    .qty-control button {
      border: none;
      background: transparent;
      font-size: 18px;
      width: 28px;
      height: 28px;
      cursor: pointer;
    }

    .remove-checkout-item {
      border: none;
      background: transparent;
      color: #d11a2a;
      font-weight: 700;
      cursor: pointer;
      padding: 0;
    }

    .checkout-item-price {
      font-weight: 700;
      white-space: nowrap;
      min-width: 100px;
      text-align: right;
    }

    .checkout-summary {
      margin-top: 24px;
      border-top: 1px solid #eee;
      padding-top: 20px;
    }

    .summary-row {
      display: flex;
      justify-content: space-between;
      margin-bottom: 14px;
      font-size: 17px;
    }

    .summary-row.total {
      margin-top: 16px;
      font-size: 24px;
      font-weight: 700;
    }

    .empty-checkout {
      color: #666;
      padding: 20px 0;
      font-size: 16px;
    }

    .checkout-form {
      display: block;
    }

    .form-group {
      margin-bottom: 18px;
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .form-group label {
      display: block;
      font-weight: 600;
      margin-bottom: 8px;
    }

    .form-group input {
      width: 100%;
      height: 52px;
      border: 1px solid #d8d8d8;
      border-radius: 12px;
      padding: 0 14px;
      font-size: 16px;
      outline: none;
      transition: 0.2s ease;
    }

    .form-group input:focus {
      border-color: #111;
    }

    .form-group input.error { /* Error state for form inputs */
      border-color: #eb1313;
      background: #fff5f5;
    }

    .error-message {
      display: block;
      min-height: 18px;
      margin-top: 6px;
      color: #d11a2a;
      font-size: 13px;
    }

    .pay-now-btn {
      width: 100%;
      height: 54px;
      border: none;
      border-radius: 14px;
      background: #111;
      color: #fff;
      font-size: 17px;
      font-weight: 700;
      cursor: pointer;
      margin-top: 10px;
    }

    .pay-now-btn:hover {
      opacity: 0.92;
    }




    @media (max-width: 960px) {
      .checkout-container {
        grid-template-columns: 1fr;
      }

      .form-row {
        grid-template-columns: 1fr;
      }

      .checkout-cart-item {
        flex-direction: column;
      }

      .checkout-item-price {
        text-align: left;
      }
    }

    /* RESPONSIVE*/
    @media (max-width: 1024px) {
  .checkout-container {
    grid-template-columns: 1fr;
  }

  .checkout-products,
  .checkout-form-wrap {
    padding: 24px;
  }

  .checkout-products h2,
  .checkout-form-wrap h2 {
    font-size: 28px;
  }

  .checkout-product-info h3,
  .checkout-product-info p {
    font-size: 18px;
  }

  .summary-row.total {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .checkout-page {
    padding: 40px 0;
  }

  .checkout-container {
    width: 92%;
    gap: 24px;
  }

  .form-row,
  .form-row:last-of-type {
    grid-template-columns: 1fr;
  }

  .checkout-product-item {
    align-items: flex-start;
  }

  .checkout-product-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .checkout-products h2,
  .checkout-form-wrap h2 {
    font-size: 24px;
  }

  .form-group label {
    font-size: 16px;
  }

  .form-group input,
  .form-group select {
    height: 52px;
    font-size: 16px;
  }

  .pay-now-btn {
    height: 54px;
    font-size: 18px;
  }
}